Agent skill
ppage
Captures session learnings, decisions, and context to a markdown file for future agent ramp-up. Use when user says "ppage", "page context", "save context", "capture learnings", or before ending a substantial work session.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/ppage
SKILL.md
Page Context
Synthesize the current session's important context, learnings, and state into a document that another LLM agent can use to immediately ramp up.
When to Use
- User explicitly invokes with "ppage" or similar
- Before ending a long or complex session
- When switching context to different work
- When user wants to preserve learnings
Process
- Reflect on the session: what was accomplished, what was learned, what decisions were made
- Identify key files that are central to the work
- Determine current state and logical next steps
- Note any open questions or blockers
- Capture constraints and preferences: Document any user preferences, project constraints, or environmental limitations discovered during the session
- Gather critical references: Note important external URLs, documentation, example data, or key values discovered
- Create Bootstrap Instructions: List the key files in priority order (most important first) with absolute paths so a future agent can read them to reach full context
- Generate a succinct but descriptive name for the session (2-4 words, kebab-case)
- Open TEMPLATE.md and follow it exactly
- Write output to
.ai/tmp/{YYYY-MM-DD}-{succinct-name}.md
Output Format
Use TEMPLATE.md as the output structure.
Guidelines
- Be concise: Target under 200 lines
- Be actionable: File paths should be exact, next steps should be concrete
- Be explicit: Don't assume the reading agent has any prior context
- Capture decisions: Include rationale so decisions aren't re-litigated
- Preserve constraints: User preferences and project constraints prevent re-litigation
- Name meaningfully: The filename should indicate what the session was about
- Bootstrap first: The ppage is a summary, not a full context dump. The Bootstrap Instructions tell the future agent which files to read to reach full context. Prioritize files (most important first), use absolute paths, and separate required vs optional files.
- Omit empty sections: If a section has no content (e.g., no constraints discovered, no external references), omit it entirely rather than leaving placeholders
Create the .ai/tmp/ directory if it doesn't exist.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?