Skip to content

LeoYeAI/agent-master-skills / skills/agent-context-system

agent-context-system

Flagged

A persistent local-only memory system for AI coding agents. Two files, one idea — AGENTS.md (committed, shared) + .agents.local.md (gitignored, personal). Agents read both at session start, update the scratchpad at session end, and promote stable patterns over time. Works across Claude Code, Cursor, Copilot, Windsurf. Subagent-ready. No plugins, no infrastructure, no background processes.

FileKindSize
AGENTS.mdmarkdown4.1 KB
README.mdmarkdown8.1 KB
SKILL.mdskill md15.8 KB
_meta.jsonconfig303 B
agent_docs/architecture.mdmarkdown886 B
agent_docs/conventions.mdmarkdown856 B
agent_docs/gotchas.mdmarkdown807 B
docs/subagent-context.svgother3.5 KB
package.jsonmanifest604 B
scripts/agents-local-template.mdmarkdown1.4 KB
scripts/init-agent-context.shexecutablescript278 B
scripts/publish-template.shexecutablescript1.5 KB

docs/subagent-context.svg

View on GitHub
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 780 560" width="780" height="560" font-family="'Segoe UI', system-ui, -apple-system, sans-serif">
  <rect width="780" height="560" fill="white"/>

  <!-- Title -->
  <text x="390" y="35" text-anchor="middle" font-size="24" font-weight="600" fill="#1e1e1e">What Subagents Actually See</text>

  <!-- AGENTS.md box -->
  <rect x="250" y="65" width="260" height="60" rx="10" fill="#b2f2bb" stroke="#22c55e" stroke-width="2"/>
  <text x="380" y="102" text-anchor="middle" font-size="20" font-weight="600" fill="#1e1e1e">AGENTS.md</text>
  <text x="380" y="145" text-anchor="middle" font-size="13" fill="#22c55e">Loaded automatically by every agent</text>

  <!-- Green arrows from AGENTS.md to subagents -->
  <defs>
    <marker id="arrow-green" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">
      <polygon points="0 0, 10 3.5, 0 7" fill="#22c55e"/>
    </marker>
    <marker id="arrow-amber-up" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">
      <polygon points="0 0, 10 3.5, 0 7" fill="#f59e0b"/>
    </marker>
  </defs>

  <line x1="310" y1="125" x2="155" y2="235" stroke="#22c55e" stroke-width="2" marker-end="url(#arrow-green)"/>
  <line x1="380" y1="125" x2="380" y2="235" stroke="#22c55e" stroke-width="2" marker-end="url(#arrow-green)"/>
  <line x1="450" y1="125" x2="615" y2="235" stroke="#22c55e" stroke-width="2" marker-end="url(#arrow-green)"/>

  <!-- Subagent boxes -->
  <rect x="50" y="240" width="170" height="50" rx="10" fill="#a5d8ff" stroke="#4a9eed" stroke-width="2"/>
  <text x="135" y="271" text-anchor="middle" font-size="17" font-weight="500" fill="#1e1e1e">Explore</text>

  <rect x="290" y="240" width="180" height="50" rx="10" fill="#a5d8ff" stroke="#4a9eed" stroke-width="2"/>
  <text x="380" y="271" text-anchor="middle" font-size="17" font-weight="500" fill="#1e1e1e">Code Review</text>

  <rect x="540" y="240" width="170" height="50" rx="10" fill="#a5d8ff" stroke="#4a9eed" stroke-width="2"/>
  <text x="625" y="271" text-anchor="middle" font-size="17" font-weight="500" fill="#1e1e1e">Debug</text>

  <!-- Divider label -->
  <text x="390" y="330" text-anchor="middle" font-size="15" font-weight="600" fill="#ef4444">What does NOT flow to subagents:</text>

  <!-- Conversation History (red, blocked) -->
  <rect x="60" y="360" width="260" height="48" rx="10" fill="#ffc9c9" stroke="#ef4444" stroke-width="2"/>
  <text x="190" y="390" text-anchor="middle" font-size="16" font-weight="500" fill="#1e1e1e">Conversation History</text>
  <text x="340" y="392" font-size="26" font-weight="700" fill="#ef4444">✕</text>

  <!-- .agents.local.md (yellow, conditional) -->
  <rect x="410" y="360" width="280" height="48" rx="10" fill="#fff3bf" stroke="#f59e0b" stroke-width="2"/>
  <text x="550" y="390" text-anchor="middle" font-size="16" font-weight="500" fill="#1e1e1e">.agents.local.md</text>

  <!-- Dashed arrow from scratchpad up to subagents -->
  <line x1="550" y1="360" x2="550" y2="300" stroke="#f59e0b" stroke-width="2" stroke-dasharray="6,4" marker-end="url(#arrow-amber-up)"/>
  <text x="550" y="428" text-anchor="middle" font-size="13" fill="#f59e0b">Only if AGENTS.md tells them to read it</text>

  <!-- Bottom line -->
  <text x="390" y="490" text-anchor="middle" font-size="15" fill="#1e1e1e">AGENTS.md is the only shared context across all parallel agents.</text>
  <text x="390" y="515" text-anchor="middle" font-size="15" fill="#1e1e1e">That's why instruction budget discipline matters ×5.</text>
</svg>
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall