Introduction¶
When building long-term conversational Agents, a common practice is to pile on personas or extend system prompts, hoping the model will “remember” users, self-correct, and maintain stability regarding emotional and ethical boundaries. Such approaches are difficult to validate: whether memory is actually utilized, whether reflection is merely rhetoric, and whether there are consistent rules for safety and truthfulness often rely solely on manual spot checks.
The following is an introduction to the AI Psychology Cognitive Engine on SkillHub (Coordinates @user_fdb96f95/heartflow-ai, HeartFlow v1.3.5). The official positioning is “AI Cognitive and Self-Healing Engine,” with a clear statement: It is not a persona, nor a prompt template, but a verifiable capability layer. If you want a set of nameable modules (Memory, Self-Healing, Ethics, Retrieval, etc.) on the Agent side rather than a single block of prompts, you can follow the steps in this article to install and enable it in your corresponding client.
What is this¶
The AI Psychology Cognitive Engine is a Skill provided by community publisher user_fdb96f95 under the SkillHub category ai-agent. The current version is 1.3.5, and the source is marked as community. The page tag is requires_api_key=false, meaning that according to official instructions, no additional API Key is required to install and use this Skill.
Official Skill Entry:
- Page: https://www.skillhub.cn/skills/user_fdb96f95/heartflow-ai
- API Resource: https://api.skillhub.cn/user_fdb96f95/heartflow-ai
The problem it aims to solve is to decouple cognitive-related capabilities from being “written into prompts” and instead separate them into Skill documentation and agreed-upon capability module names. This allows Agents supporting SKILL.md to load them according to skill specifications after installation, rather than replacing the underlying model itself.
Core Features (Verified via Official Brief)¶
The following capability names are taken from the SkillHub page brief. They are categorized by module for easy comparison and do not represent a list of independent microservices.
Memory and Retrieval¶
- Three-layer Memory: MeaningfulMemory / Triality
- Forgetting Curve: Ebbinghaus
- Hybrid Search: BM25 + Budget / Graph / Slots
- Context Compression: AutoCompactionEngine
- RAG Citation Tracking
Self-Healing, Learning, and Planning¶
- Self-Healing RL: Q-table
- Self-Optimization: Self-Refine + Reflexion
- Decision Verification
- DreamEngine, MetaLearner, SelfModel
- CounterfactualEngine, ConfidenceCalibrator
- Graph-of-Thoughts Planning (GoT)
- Reasoning Engine: ReasoningIntegrator
Psychological, Emotional, and Cognitive Assessment¶
- Psychological Diagnosis Engine: PsychologyEngine
- Empathy Detection: EmpathyDetector
- Emotional Rationality: EmotionalProtocol
- Cognitive Appraisal: CognitiveAppraisal
- Self-Regulation Feedback: SelfRegulationFeedback
Ethics, Identity, and Safety¶
- 4-Framework Ethical Philosophy: PhilosophyEngine
- Identity Rules System: IdentityRules
- Truthfulness Check: TruthfulnessChecker
- Safety Check: SecurityChecker
- SpontaneousRestraint, CooperativeArbitration
Philosophical Computation and Others¶
- Buddhist Philosophy Computation: Madhyamaka, Yogācāra (Consciousness-only), Dependent Origination
The official public page does not provide input/output contracts or unit test descriptions for each module individually; usage should be based on the SKILL.md and accompanying instructions within the installed Skill package.
Installation and Enablement¶
For general SkillHub installation instructions, see: https://skillhub.cn/install/skillhub.md. The installation prompt provided on the page is to install @user_fdb96f95/heartflow-ai according to that document.
1. Check or Install skillhub CLI¶
First, confirm if the CLI already exists on your machine:
command -v skillhub && skillhub --version
If not installed, you can perform the full installation (CLI + Default Skills) following SkillHub documentation:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
If only the CLI is needed:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install to the current Agent’s skills directory¶
During installation, you must use --dir to point to the actual skills directory read by the current Agent; if installed to the default ./skills/, some clients will not recognize it automatically.
skillhub install user_fdb96f95/heartflow-ai --dir <skills directory>
Common paths (excerpted from SkillHub installation documentation):
| Client | Skills Directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under project |
| Windsurf | ~/.codeium/windsurf/skills/ or .windsurf/skills/ |
You can also search before installing:
skillhub search heartflow
skillhub install user_fdb96f95/heartflow-ai --dir ~/.cursor/skills/
3. Enable¶
After placing the Skill into the corresponding directory, restart or refresh the Agent according to the rules of your client to load the new Skill. The SkillHub page does not list separate difference steps for Cursor / Codex / Claude Code; the commonality is: Correct Directory + Client Recognition of Skills Path.
As of the page display data: Rating 100000, Downloads 1904, Install Count 0 (Subject to SkillHub page, subject to change over time).
Typical Usage¶
The official SkillHub detail page does not provide independent reproducible dialogue examples or REST call samples. The confirmable usage path is:
- Complete
skillhub installand directory configuration as described above; - In an Agent session supporting Skills, instruct the Agent to call the capability layer described by HeartFlow (Memory, Self-Healing, Ethics Check, etc.) according to the installed SKILL.md specifications, rather than relying solely on handwritten personas.
If you need to verify a specific capability (e.g., TruthfulnessChecker, SecurityChecker), you should open the documentation inside the Skill package after installation and conduct targeted testing according to the steps or constraints defined therein; this article does not fabricate call parameters or example dialogues.
Applicable Scenarios and Notes¶
Who is it for
- Those building ai-agent applications who wish to converge requirements such as cognition, emotional boundaries, retrieval, and self-optimization into Skill capability descriptions;
- Those who can accept that “capabilities are subject to Skill documentation + Agent execution” and are willing to read SKILL.md personally after installation for acceptance.
Limitations and Notes
- The numerous module names and wide coverage do not mean every item has implementation descriptions of equal depth; rely on the package documentation and actual Agent behavior.
requires_api_key=falseonly indicates that the Skill metadata does not require a SkillHub API Key; the underlying LLM may still hallucinate, and whether modules like TruthfulnessChecker meet your compliance requirements needs independent evaluation.- Philosophy and psychology-related modules (PhilosophyEngine, PsychologyEngine, Buddhist Philosophy Computation, etc.) represent product design orientations; please judge their suitability in combination with business scenarios before deployment.
- The coexistence of “0 Installs” in installation statistics and download volume may reflect statistical calibers or user local installation methods; take the appearance of the Skill in your local
skillsdirectory as the standard.
Conclusion¶
The AI Psychology Cognitive Engine (HeartFlow v1.3.5) writes capabilities such as memory, self-healing RL, self-optimization, psychological and ethical checks, hybrid retrieval, and GoT planning into a single Skill on SkillHub, emphasizing it as a verifiable capability layer rather than a persona. If you are building long-term Agents and wish to reduce the uncertainty of “relying solely on prompt stacking,” you can install @user_fdb96f95/heartflow-ai following SkillHub documentation and enable it in your client’s skills directory.
Official Page: https://www.skillhub.cn/skills/user_fdb96f95/heartflow-ai