session-commit
Session Commit
Analyze the current coding session, propose improvements to AGENTS.md, and apply approved changes.
Workflow
- Read the current
AGENTS.mdand build a mental map of existing sections. - If the repo documents a validation or repair command for instruction files, run it before proposing edits.
- Extract only durable learnings from the current session.
- Propose changes using the format in
references/change-proposal-format.md. - Wait for explicit user approval before applying any edits.
- Apply approved changes and merge with existing content.
What to capture
- Coding patterns and conventions established in the session
- Architecture decisions and reasoning that should persist
- Debugging playbooks and recurring gotchas
- Workflow preferences that improve future sessions
Guardrails
- Do not capture transient implementation details that will age quickly.
- Prefer updating existing sections before creating new headings.
- Use concise bullet points rather than long paragraphs.
- Keep guidance tool-agnostic unless behavior differs by tool.
- If no meaningful learning occurred, report that and stop.
Pointer file behavior
If CLAUDE.md, CODEX.md, or GEMINI.md are missing or empty, create symlinks that point to AGENTS.md.
Output contract
- Proposal stage: output only proposed changes with explicit add/modify/remove counts.
- Apply stage: update
AGENTS.mdonly after explicit approval. - Completion stage: summarize what changed and where.
More from olshansk/agent-skills
skills-dashboard
Scrape skills.sh and generate an interactive HTML dashboard showing skill distribution by publisher, installs, and categories. Rerun anytime to get fresh data.
29cmd-clean-code
Improve code readability without altering functionality using idiomatic best practices
25cmd-idiot-proof-docs
Simplify documentation for clarity and scannability with approval-gated edits
18cmd-rss-feed-generator
Generate Python RSS feed scrapers from blog websites, integrated with hourly GitHub Actions
18cmd-proofread
Proofread posts before publishing for spelling, grammar, repetition, logic, weak arguments, broken links, and optionally reformat for skimmability or shape the writing vibe toward a known author's style
17mermaid-render
>
16