pensieve
Original:🇺🇸 English
Translated
13 scripts
Project knowledge base and workflow routing. Knowledge contains previously explored file locations, module boundaries, and call chains — reuse directly instead of re-locating; decisions/maxims are settled architectural decisions and coding principles — follow them, don't re-debate; pipelines are reusable workflows. Use self-improve to capture new findings after tasks. Provides init, upgrade, migrate, doctor, self-improve, and loop tools.
6installs
Sourcekingkongshot/pensieve
Added on
NPX Install
npx skill4agent add kingkongshot/pensieve pensieveTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Pensieve
Route user requests to the correct tool. When uncertain, confirm first.
Intent Routing
- Explicit intent takes priority: if the user explicitly names a tool or trigger word, route directly.
- Infer from session stage (when no explicit command is given):
- New project or blank context → | Version uncertainty →
init| Migration/residue uncertainty →upgrademigrate - Exploring codebase or locating issues → check first, then use
<USER_DATA_ROOT>/knowledge/to write findingsself-improve - Development complete or retrospective signals → | Complex task needing decomposition →
self-improveloop
- New project or blank context →
- When uncertain, confirm first.
Global Rules (Summary)
- Boundary priority: version/compatibility issues go through ; migration/residue cleanup goes through
upgrade.migrate - Confirm before executing: when the user has not explicitly issued a command, confirm first.
- Keep links connected: must have at least one
decision/pipelinelink.[[...]] - Read spec before writing data: read the corresponding README before creating/checking user data.
Full rules inreferences/shared-rules.md
Tool Execution Protocol
Before executing any tool, read its section to confirm applicability. For tool boundaries and redirect rules, see .
### Use whenreferences/tool-boundaries.mdRouting Table
| Intent | Tool spec (read first) | Trigger words |
|---|---|---|
| Initialize | | init, initialize |
| Version update | | upgrade, version |
| Structure migration | | migrate, migration, clean old paths |
| Health check | | doctor, check, format check |
| Archive experience | | self-improve, archive, reflect |
| Iterative execution | | loop, iterative execution, execute pipeline |
Routing Failure Fallback
- Ambiguous intent: return candidate routes and ask the user to confirm.
- Tool entry unreadable: stop and report the missing path.
- Incomplete input: collect missing information before executing.
<SYSTEM_SKILL_ROOT><project>/.claude/skills/pensieve/