by yj-liuzepeng
Persistent project intelligence and memory plugin for DSH: architecture analysis, cross-session context, TODOs, and optional hybrid retrieval
# Add to your Claude Code skills
git clone https://github.com/yj-liuzepeng/dsh-project-brainGuides for using ai agents skills like dsh-project-brain.
See how dsh-project-brain compares with popular alternatives.
dsh-project-brain is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by yj-liuzepeng. Persistent project intelligence and memory plugin for DSH: architecture analysis, cross-session context, TODOs, and optional hybrid retrieval. It has 103 GitHub stars.
dsh-project-brain's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/yj-liuzepeng/dsh-project-brain" and add it to your Claude Code skills directory (see the Installation section above).
dsh-project-brain is primarily written in JavaScript. It is open-source under yj-liuzepeng on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh dsh-project-brain against similar tools.
No comments yet. Be the first to share your thoughts!
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
English · 简体中文
A persistent project intelligence and memory plugin for DSH. It analyzes the active workspace, explains the architecture, preserves decisions and development history, and restores the right context in future sessions.
Instead of making every new conversation rediscover the repository, dsh-project-brain stores structured knowledge inside the project itself and keeps getting more useful as the project evolves.
Current release:
1.3.1— adds import / export / local backup restore (cross-machine sync). End-to-end 20/20 smoke suites + 46/46 host-acceptance pass; data format fully backward-compatible with v1.3.0.
v1.3.1 新特性:📦 导入导出 / 备份恢复
.project-brain.backup-<ts>/;可随时回滚到任一历史备份project_export / project_import / project_rollback_backup / project_cleanup_backupsGitHub release · DSH community showcase · MyDSH listing










AI coding sessions are usually short-lived, while real software projects are not. Important context gets scattered across conversations: why an architectural choice was made, which workaround fixed a production bug, what is currently in progress, and which files form the critical path.
dsh-project-brain turns that context into a local, workspace-scoped knowledge layer:
Active DSH Session
│ trusted live Session cwd
▼
Workspace scanner ───────► project facts and source evidence
│
├──► current DSH LLM ───► semantic architecture report
│ │ unavailable / timeout / invalid output
│ └────────────► local architecture fallback
│
├──► .project-brain/ ───► memory, TODOs, timeline, architecture
│
├──► context injector ──► next Session system prompt
│
└──► Connection RPC ────► Dashboard and TodoStrip
The browser-side UI cannot choose arbitrary filesystem paths. Runtime actions are resolved by the Host against the active DSH Session.
Each workspace owns its data:
.project-brain/
├── project.json # project metadata, stack, languages, and entry points
├── architecture.json # purpose, layers, components, flows, and evidence
├── memory.jsonl # long-term structured project memories
├── todo.jsonl # project tasks and status
├── timeline.jsonl # scans, memory events, TODO events, and sessions
├── codegraph.json # optional legacy AST graph
└── cache/
└── embeddings.jsonl # optional, derived, and safe to rebuild
Project data survives plugin upgrades and conversation changes. Uninstalling the plugin does not delete .project-brain/.
Memories can represent decision, requirement, architecture, change, bug, lesson, issue, or context.
Every new V2 memory includes importance, confidence, lifecycle status, source, timestamps, optional tags, and related files. Archived, superseded, and deleted memories are excluded from normal retrieval, automatic prompt injection, status counts, and the Dashboard.
The plugin writes memories through three paths:
project_memory_add.The Organize Memory action first previews merge and archive candidates. It only writes changes after confirmation.
Session extraction is configurable with sessionSemanticMemoryEnabled, sessionSemanticMaxChars, sessionSemanticMaxItems, and sessionSemanticTimeoutMs. Disable it to keep Session summarization Git-only.
The default local retriever uses BM25 over titles, content, tags, related files, and types