capturing-session-learnings — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited capturing-session-learnings (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Review the current session for context that was missing and would have helped the host agent. Propose targeted additions to the right agent-instruction file by scope.
| Capability | Claude Code | Codex |
|---|---|---|
| Find files | Glob / Grep | shell (find, grep) |
| Read a file | Read | shell (cat) |
| Edit a file | Edit | apply_patch / shell heredoc |
| User confirmation | AskUserQuestion | ask_user / built-in approval prompt |
| Shell commands | Bash | shell |
The skill body refers to actions abstractly. The host agent maps to its own tool inventory.
What context was missing during this session that would have helped the host agent?
Find every agent-instruction file in scope (project + user-global), dedupe symlinked pairs via realpath:
{
find . \( \
-name "AGENTS.md" \
-o -name "AGENTS.local.md" \
-o -name "CLAUDE.md" \
-o -name "CLAUDE.local.md" \
-o -name ".claude.md" \
-o -name ".claude.local.md" \
\) -not -path '*/node_modules/*' -not -path '*/.git/*' 2>/dev/null
ls ~/.claude/CLAUDE.md ~/.codex/AGENTS.md 2>/dev/null
} | xargs -I{} realpath {} | sort -uWhen two paths share the same realpath, treat them as one logical file. Edits target the canonical realpath.
Decide where each addition belongs before drafting it:
| Scope | Target file | Examples |
|---|---|---|
| Project-shared | AGENTS.md / CLAUDE.md (canonical) | Build commands, this codebase's quirks, team-wide conventions |
| Project-local | AGENTS.local.md / CLAUDE.local.md | Your personal overrides for this project, not for the team |
| User-global | ~/.claude/CLAUDE.md / ~/.codex/AGENTS.md | Cross-project rules: writing style, tool preferences, system-wide preferences |
If a learning is generic enough to apply to other projects, route it to the user-global file rather than this project's AGENTS.md. Avoid duplication: if a rule already exists in the user-global file, don't restate it project-locally.
Keep it concise, one line per concept. Agent-instruction files are part of the prompt, so brevity matters.
Format: <command or pattern>, <brief description>
Avoid:
For each addition:
### Update: ./AGENTS.md
**Why:** [one-line reason]
+ [the addition; keep it brief]
Group by target file. Show all proposed edits to one file together.
Ask if the user wants to apply the changes. Only edit files they approve. Use the right edit tool per Platform Adaptation. Edit the canonical realpath target only; symlinks update automatically.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.