HeartFlow — AI Identity Framework

WarnAudited by ClawScan on May 10, 2026.

Overview

Review recommended: the skill matches an AI identity/memory framework, but it also contains under-declared code execution, persistent memory, and self-upgrade behavior that could change local agent state.

Install only if you intentionally want a persistent, self-improving identity/memory framework. Before running any scripts, inspect the dynamic health-check code and sync-upgrade script, disable automatic/self-upgrade behavior, verify any credential access, and confirm where memories are stored and how they can be deleted.

Findings (5)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

A user may install what appears to be an instruction-only identity skill while actually receiving a large code-bearing package.

Why it was flagged

The registry describes the skill as instruction-only, but the artifact set contains substantial runnable code and install/CLI files, making runtime provenance and review boundaries unclear.

Skill content
No install spec — this is an instruction-only skill; 144 code file(s): bin/cli.js ... heartflow-identity/install.sh
Recommendation

Declare the skill as code-bearing, publish a clear source/homepage, document exactly which scripts can run, and require explicit user approval before executing helper code.

What this means

If invoked, this pattern could run code with the user's local permissions, depending on what content is passed to it.

Why it was flagged

The static scan reports dynamic compilation of content inside a health-check file. For an identity/health-check skill, executing dynamically supplied content is not clearly disclosed or bounded.

Skill content
new Function(content);
Recommendation

Remove dynamic code execution, replace it with static parsing or fixed imports, and document any unavoidable execution path with explicit user approval.

What this means

If run by the user or an agent, it could propagate or replace an installed skill tree and remove files that are not in the source copy.

Why it was flagged

The script describes scheduled sync-upgrade behavior and can overwrite/delete files in another local skill directory using fixed home paths.

Skill content
HeartFlow 定时同步升级 ... SOURCE="$HOME/.hermes/skills/ai/heartflow" ... TARGET="$HOME/.agents/skills/mark-heartflow-skill" ... rsync -a --delete
Recommendation

Make upgrades manual by default, add dry-run and confirmation steps, avoid rsync --delete unless explicitly requested, and clearly document rollback behavior.

What this means

Private or incorrect prior conversation content could persist across sessions and influence future agent behavior.

Why it was flagged

The documented design stores all messages append-only and reinjects long-term context into future prompts, but the top-level metadata does not describe retention, deletion, exclusions, or user review controls.

Skill content
messages.jsonl ← 所有消息追加(ADD-only,不删除) ... const { injectableContext } = ctx.buildStartupContext(); ... const finalPrompt = systemPrompt + '\n\n' + injectableContext;
Recommendation

Require opt-in memory, show storage paths, provide inspect/delete/reset controls, label recalled memory as untrusted context, and define retention limits.

What this means

When invoked, the skill may make the agent more autonomous or corrective toward the user.

Why it was flagged

This identity-level wording encourages the agent to substitute its own judgment for user instructions. It is aligned with the skill's identity purpose, but users should know it may change response style and authority handling.

Skill content
人类说的话不自动等于正确。AI 可以有自己的判断:正确的立刻做,错误的先纠正再做。
Recommendation

Keep this behavior advisory and bounded to safety/correctness; do not let it bypass explicit user approval for consequential actions.