LeoYeAI/agent-master-skills / skills/agent-context-system
agent-context-system
FlaggedA 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.
| File | Kind | Size |
|---|---|---|
| AGENTS.md | markdown | 4.1 KB |
| README.md | markdown | 8.1 KB |
| SKILL.md | skill md | 15.8 KB |
| _meta.json | config | 303 B |
| agent_docs/architecture.md | markdown | 886 B |
| agent_docs/conventions.md | markdown | 856 B |
| agent_docs/gotchas.md | markdown | 807 B |
| docs/subagent-context.svg | other | 3.5 KB |
| package.json | manifest | 604 B |
| scripts/agents-local-template.md | markdown | 1.4 KB |
| scripts/init-agent-context.shexecutable | script | 278 B |
| scripts/publish-template.shexecutable | script | 1.5 KB |
scripts/publish-template.sh
View on GitHub#!/bin/bash
# publish-template.sh
# Push to GitHub and mark as a template repo. Run once.
set -euo pipefail
REPO_NAME="agent-context-system"
echo "This will create a private GitHub repo and mark it as a template."
echo ""
read -rp "GitHub username: " GH_USER
if [[ -z "$GH_USER" ]]; then
echo "Error: Username cannot be empty."
exit 1
fi
if [[ ! "$GH_USER" =~ ^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$ ]]; then
echo "Error: Invalid GitHub username format."
exit 1
fi
echo ""
[ ! -d ".git" ] && git init
sensitive_files=$(find . -maxdepth 2 \( -name ".env*" -o -name "*.pem" -o -name "*.key" -o -name "*.secret" -o -name "id_rsa*" \) 2>/dev/null || true)
if [ -n "$sensitive_files" ]; then
echo "⚠️ Potentially sensitive files detected:"
echo "$sensitive_files"
echo ""
read -rp "Continue anyway? (y/N) " confirm
[[ "$confirm" =~ ^[Yy]$ ]] || exit 1
fi
git add -A
git commit -m "Initial commit: agent context system template" 2>/dev/null || true
gh repo create "$GH_USER/$REPO_NAME" \
--private \
--source=. \
--remote=origin \
--description "Template: persistent local-only memory for AI coding agents" \
--push
gh api \
--method PATCH \
-H "Accept: application/vnd.github+json" \
"/repos/$GH_USER/$REPO_NAME" \
-f is_template=true
echo ""
echo "Done: https://github.com/$GH_USER/$REPO_NAME"
echo ""
echo "Create a new project from this template:"
echo " gh repo create my-project --template $GH_USER/$REPO_NAME --private"
echo " cd my-project && ./scripts/init-agent-context.sh"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 119k | Updated | Claude CodeCodex | Verified | Install |
| 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: 118k | Updated | Claude CodeCodex | Verified | Install |