By initialneil Verified
Registers projects, machines, APIs, and MCP servers as self-improving skills that auto-log sessions and reflect on outcomes to produce lean lessons, avoiding repeated mistakes and enabling smarter future sessions.
Log + reflect the current project — capture this session, distill to lean lessons (project-with-reflect)
Improve the project-with-reflect meta-skill itself from cross-project patterns
Record a durable thing into the current project's permanent memory — a result, a rule, a reference/resource, an eval report, … (project-with-reflect)
Register a reusable sub-agent definition (project-with-reflect)
Register an HTTP/WebSocket API as a connection skill (key in env) — project-with-reflect
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
English | 中文
A self-distilling meta-skill for Codex, Claude Code, and other AI coding agents. — Neil Z. Shao
Best used with Obsidian + plugins:
- Neat File Tree — a cleaner, calmer file tree.
- Folder Notes — the
<folder>/<folder>.mdfolder-note convention this skill optionally leans on (experiment records, evals, the per-workstream goal log).
Juggling several projects at once? Need to remember how to connect to a handful of machines and services? Tired of rewriting the same long prompts and re-explaining the same project to your agent?
It manages each project for you — worktrees, logs, reflect, a growing long-term knowledge
base — and everything you operate (a connection), each becoming a callable /<name> skill:
nvidia-smi, with their quirks remembered (e.g. nvidia-smi -pl 300 after a reboot).mcp__<name>__* tools.All of it Obsidian-friendly (lessons / knowledge / dashboard are clean, readable Markdown).
Your personal knowledge base — readable in your editor and your notes app:
![]() | ![]() |
| Show your knowledge base in VS Code | Show your knowledge base in Obsidian |
/<name> once registered.reflect distills itself — captures the session, then folds the log into lean, readable lessons it loads next time (and appends run results to a permanent experiment record).Core loop:
work (auto-log) → /<project> reflect (capture + distill) → lean readable lessons → better next session
Elegant published install:
Claude Code has the nicest first-class marketplace flow:
/plugin marketplace add initialneil/project-with-reflect
/plugin install project-with-reflect@project-with-reflect
For Codex and other agents that support the Agent Skills installer, use the open skills CLI:
npx skills add initialneil/project-with-reflect
Codex local/dev install:
Use this when working from a checkout, or if your agent does not yet wire the skills CLI into Codex's user skill directory:
mkdir -p ~/.codex/skills
ln -sfn /path/to/project-with-reflect/.codex/skills/project-with-reflect ~/.codex/skills/project-with-reflect
The daily loop is: register → check status / check in → work → log and reflect.
1. Register once
# register a project → generates the /myapp skill
/register-project myapp ~/code/myapp
# optional: register a reusable workstream — just say what it's based on
/register-workstream my-feature based on main # → generates /myapp-my-feature
2. Check status and check in
# from anywhere, even ~
/project-with-reflect status # lists projects/connections and flags what needs attention
/myapp checkin # loads context, asks about cwd, then recaps with status
/myapp checkin train-v2 # or check straight into a specific workstream
3. Work, record, reflect
/myapp-my-feature ... # (or just /myapp for the main workstream)
/record-a-lesson the v2 baseline: 0.83 F1 # persist a result/conclusion NOW (≡ /myapp record "…")
/log-and-reflect # from anywhere in the repo — resolves the project from your cwd
# (≡ /myapp reflect — "reflect" already captures the session first)
npx claudepluginhub initialneil/project-with-reflect --plugin project-with-reflectVerified owner:Neil Z. SHAO
Distill a system or subsystem into a short, human-readable set of GROUNDING RULES — the minimal load-bearing invariants that let a reader gain confidence in minutes and adjudicate design choices, instead of reading a full spec for hours.
Persistent memory across sessions. Learns preferences, conventions, and corrections automatically.
I (Claude) act as you - Build knowledge base from your notes.
Auto-capture high-signal coding context into memctl memory
Automatic semantic memory for Claude Code — remembers what you worked on across sessions
Plugin for effective agentic development
Protocol for project memory and execution discipline. Structures how knowledge, decisions, research, specs, work, evidence, and reviews are captured across sessions and agents.