← Back to Knowledge & PKM

Manage agent context and project instructions

Compare workflows for durable project rules, context layering, agent memory, isolation, and auditable handoffs.

Last meaningful review July 20, 2026

The job

You need an agent to retain the right project-specific instructions and working context across sessions without confusing that context with personal notes.

Includedproject instruction files and conventions · agent context layering and memory governance · cross-session handoffs and project isolation

Not this pagepersonal knowledge-base organization · secret storage · guaranteed autonomous long-term memory

30-second route

01

You have recurring project learnings in Claude Code memory and need to decide what becomes durable, enforceable project policy.

It directly reviews captured memory, distinguishes scratch context from project rules, and promotes approved recurring patterns into durable or scoped instructions.

Editorial confidence: high
Consider Self Improving Agent
02

You need to reconcile AGENTS.md, CONTRIBUTING.md, aliases, and documentation drift across a repository.

It explicitly inventories governance surfaces, handles canonical-versus-alias precedence, and produces validation and coverage artifacts.

Editorial confidence: high
Consider Technical Documentation
03

You need a cross-tool policy for what to load at project, feature, task, and error-handling levels, including handoffs.

Its explicit hierarchy, selective loading patterns, and session-management guidance address focused context without conflating it with permanent memory.

Editorial confidence: high
Consider Context Engineering
04

You require guaranteed autonomous long-term memory, secret storage, or personal knowledge-base management.

Those needs are outside the task scope, and the supplied evidence does not establish such guarantees.

Editorial confidence: high
No selected skill is appropriate for that requirement.

Before you install

Install Self Improving Agent when its documented platform integration fits; adapt Technical Documentation and Context Engineering into the repository’s existing instruction system.

Only Self Improving Agent’s supplied source documents installation commands. The other two provide source-backed workflows and outputs but no installation procedure in the supplied SKILL.md.

Read the intervention guide →

Source-led comparison

What changes the choice

Facts are extracted from each selected Skill’s declared workflow. Signals describe public adoption; they are not a universal score.

SkillBest forActionEdits?Setup
Self Improving AgentThe strongest default for governing project memory across sessions: review captured learnings, promote durable ones into project rules, and keep scratch memory from becoming stale policy.Install and use its memory-review and promotion lifecycle to graduate recurring, approved project learnings into durable rules.Separate temporary observations in MEMORY.md from enforced project rules in CLAUDE.md or scoped .claude/rules/ files; remove promoted entries from scratch memory.Claude Code plugin installation is documented; the source also provides a Codex CLI installation command. ↗Technical DocumentationRepository instruction-file governance: establish a canonical instruction surface, manage aliases, detect policy drift, and produce an auditable coverage map.Adapt its governance-document workflow to inventory AGENTS.md, CONTRIBUTING.md, aliases, and documentation surfaces; then reconcile precedence and drift.Choose a canonical instruction file when present, retain aliases as compatibility surfaces, and document precedence and conflicts.No installation command is present in the supplied source; use the workflow only after confirming how the host makes the skill available. ↗Context EngineeringA layered context method for projects that need focused session startup, task-specific context loading, safe handling of untrusted inputs, and deliberate session handoffs.Adapt the hierarchy as the project’s context policy: keep durable rules always loaded, load specs and source selectively, pass only relevant errors, and summarize before handoff or compaction.Create a concise rules file, maintain a project-map index for large codebases, load only the applicable spec and source files, and refresh sessions when major work changes.No installation command is present in the supplied source; adopt the documented hierarchy and checklists in the project’s existing instruction system. ↗

Source notes

Inspect evidence and candidate limits 3 candidates

Why these candidatesEach candidate comes from tracked public sources and has a source-attributed adoption signal. This is a shortlist, not a catalogue or global ranking.

What this cannot establishWe read declared instructions and public signals. We do not run skills, benchmark outputs, audit security, or claim a universal best choice.

01

Self Improving Agent

Source ↗

Use it forThe strongest default for governing project memory across sessions: review captured learnings, promote durable ones into project rules, and keep scratch memory from becoming stale policy.

Avoid ifAvoid as the sole solution when you only need to author or audit repository instruction files and do not use a compatible memory system.

ActionInstall and use its memory-review and promotion lifecycle to graduate recurring, approved project learnings into durable rules.

EditsSeparate temporary observations in MEMORY.md from enforced project rules in CLAUDE.md or scoped .claude/rules/ files; remove promoted entries from scratch memory.

SetupClaude Code plugin installation is documented; the source also provides a Codex CLI installation command.

Inspect workflow and compatibility details

ContextIt explicitly distinguishes automatically captured project learnings, project-wide rules, scoped rules, and session continuity, with an approval step before promotion.

OutputMemory-health findings, promotion candidates, durable rules, and optionally extracted reusable skills.

ControlHuman-approved promotion: a pattern is flagged after recurrence and is promoted only after user approval.

Invocation/si:memory-review, /si:promote, /si:memory-status

Install scopeClaude Code plugin; Codex CLI script is also documented

Agent fitClaude Code has full stated support; OpenClaw and Codex CLI are described as adapted integrations.

Watch outThe workflow is centered on Claude Code auto-memory; its Codex CLI support is described as adapted rather than full support.

Source-visible capabilitiesMemory curationAnalyzes MEMORY.md for promotion candidates, stale entries, and consolidation opportunities.explicit sourceDurable-rule promotionPromotes approved learnings from MEMORY.md into CLAUDE.md or .claude/rules/.explicit source
CompatibilityClaude Codedeclarednot runtime-testedCodex CLIlimitednot runtime-testedOpenClawlimitednot runtime-tested
Public signal132 /SkillsMP source-specificbest-defaultdurable-memory-governancecross-sessionhuman-approvedexplicit source
02

Technical Documentation

Source ↗

Use it forRepository instruction-file governance: establish a canonical instruction surface, manage aliases, detect policy drift, and produce an auditable coverage map.

Avoid ifAvoid when the central need is automatically curating cross-session working memory rather than governing documentation and instruction files.

ActionAdapt its governance-document workflow to inventory AGENTS.md, CONTRIBUTING.md, aliases, and documentation surfaces; then reconcile precedence and drift.

EditsChoose a canonical instruction file when present, retain aliases as compatibility surfaces, and document precedence and conflicts.

SetupNo installation command is present in the supplied source; use the workflow only after confirming how the host makes the skill available.

Inspect workflow and compatibility details

ContextThe workflow treats agent instructions as part of a full documentation governance surface and explicitly includes canonical-versus-alias handling.

OutputUpdated documentation or review findings, validation notes, an instruction-surface map, coverage map, and remaining gaps.

ControlStructured build-or-review workflow with explicit inventory, reference reading, validation, and optional bounded delegation.

InvocationNot yet mapped from the source.

Install scopeNot yet mapped from the source.

Agent fitDesigned for agent instruction files and explicitly accounts for Codex, Claude, and Cursor handling in its output map.

Watch outIt is a documentation-governance workflow, not a dedicated persistent-memory capture or retrieval system.

Source-visible capabilitiesInstruction-surface governanceInventories AGENTS/CONTRIBUTING files and aliases, with canonical/alias mapping and precedence handling.explicit sourceAuditable outputsProduces validation notes, an agent instruction-surface map, coverage map, and remaining gaps.explicit source
CompatibilityCodexappears compatiblenot runtime-testedClaudeappears compatiblenot runtime-testedCursorappears compatiblenot runtime-tested
Public signal99 /SkillsMP source-specificinstruction-governancehigher-public-recognitiondrift-reviewauditable-handoffexplicit source
03

Context Engineering

Source ↗

Use it forA layered context method for projects that need focused session startup, task-specific context loading, safe handling of untrusted inputs, and deliberate session handoffs.

Avoid ifAvoid if you specifically need a packaged system to capture and promote learned memory across sessions; this is a method for structuring context rather than a memory store.

ActionAdapt the hierarchy as the project’s context policy: keep durable rules always loaded, load specs and source selectively, pass only relevant errors, and summarize before handoff or compaction.

EditsCreate a concise rules file, maintain a project-map index for large codebases, load only the applicable spec and source files, and refresh sessions when major work changes.

SetupNo installation command is present in the supplied source; adopt the documented hierarchy and checklists in the project’s existing instruction system.

Inspect workflow and compatibility details

ContextIt defines persistence-to-transience layers and concrete techniques for selective inclusion, hierarchical summaries, context refresh, and ambiguity handling.

OutputA rules-file baseline, selectively packed task context, project-map summaries, and verification checks.

ControlLayered and selective: persistent rules first, then per-session/per-task materials; surface conflicts instead of silently choosing.

InvocationNot yet mapped from the source.

Install scopeNot yet mapped from the source.

Agent fitNames CLAUDE.md and equivalent rules-file locations for Cursor, Windsurf, GitHub Copilot, and OpenAI Codex.

Watch outThe hierarchy is guidance; it does not itself promise autonomous long-term retention.

Source-visible capabilitiesContext hierarchyStructures information from persistent rules files through per-session specs and per-task source files to transient errors and conversation history.explicit sourceFocused handoffsUses fresh sessions, progress summaries, and deliberate compaction as conversations become stale or long.explicit source
CompatibilityClaude Codedeclarednot runtime-testedOpenAI Codexdeclarednot runtime-testedCursordeclarednot runtime-testedGitHub Copilotdeclarednot runtime-tested
Public signal461 /SkillsMP source-specificlayered-contextproject-isolationsession-handoffscontext-safetyexplicit source

Still comparing?

Tell us the job, not just the skill names.

Request a task guide
Did this decision map help?