Claude Code Agent Development
anthropics/claude-plugins-official
Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.
Compress a long agent conversation into a nine-part continuation summary that preserves request, files, errors, user messages, current work, and the next aligned step.
$ npx skills add LearnPrompt/cc-harness-skills --skill structured-context-compressor -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LearnPrompt/cc-harness-skills structured-context-compressor --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LearnPrompt/cc-harness-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/structured-context-compressor .claude/skills/structured-context-compressor && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "structured-context-compressor" agent skill from https://github.com/LearnPrompt/cc-harness-skills/tree/main/skills/structured-context-compressor into .claude/skills/structured-context-compressor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structured-context-compressor", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LearnPrompt/cc-harness-skills/tree/main/skills/structured-context-compressorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LearnPrompt/cc-harness-skills --skill structured-context-compressor -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LearnPrompt/cc-harness-skills structured-context-compressor --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LearnPrompt/cc-harness-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/structured-context-compressor .agents/skills/structured-context-compressor && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "structured-context-compressor" agent skill from https://github.com/LearnPrompt/cc-harness-skills/tree/main/skills/structured-context-compressor into .agents/skills/structured-context-compressor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structured-context-compressor", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LearnPrompt/cc-harness-skills --skill structured-context-compressor -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LearnPrompt/cc-harness-skills structured-context-compressor --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LearnPrompt/cc-harness-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/structured-context-compressor .cursor/skills/structured-context-compressor && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "structured-context-compressor" agent skill from https://github.com/LearnPrompt/cc-harness-skills/tree/main/skills/structured-context-compressor into .cursor/skills/structured-context-compressor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structured-context-compressor", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LearnPrompt/cc-harness-skills.git --path skills/structured-context-compressor--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LearnPrompt/cc-harness-skills --skill structured-context-compressor -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LearnPrompt/cc-harness-skills structured-context-compressor --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LearnPrompt/cc-harness-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/structured-context-compressor .gemini/skills/structured-context-compressor && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "structured-context-compressor" agent skill from https://github.com/LearnPrompt/cc-harness-skills/tree/main/skills/structured-context-compressor into .gemini/skills/structured-context-compressor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structured-context-compressor", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LearnPrompt/cc-harness-skills structured-context-compressorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LearnPrompt/cc-harness-skills --skill structured-context-compressor -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LearnPrompt/cc-harness-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/structured-context-compressor .github/skills/structured-context-compressor && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "structured-context-compressor" agent skill from https://github.com/LearnPrompt/cc-harness-skills/tree/main/skills/structured-context-compressor into .github/skills/structured-context-compressor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structured-context-compressor", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LearnPrompt/cc-harness-skills --skill structured-context-compressor -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LearnPrompt/cc-harness-skills structured-context-compressor --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LearnPrompt/cc-harness-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/structured-context-compressor .opencode/skills/structured-context-compressor && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "structured-context-compressor" agent skill from https://github.com/LearnPrompt/cc-harness-skills/tree/main/skills/structured-context-compressor into .opencode/skills/structured-context-compressor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structured-context-compressor", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
structured-context-compressorCompress a long agent conversation into a nine-part continuation summary that preserves request, files, errors, user messages, current work, and the next aligned step.
Structured Context Compressor is an agent skill from LearnPrompt/cc-harness-skills. Compress a long agent conversation into a nine-part continuation summary that preserves request, files, errors, user messages, current work, and the next aligned step.
Its SKILL.md is about 330 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `README.md`, `references/prompt-template.md` and `references/source-notes.md`).
It sits in Agent Workflows. The repository describes itself as: Portable CC-inspired skills for memory, verification, multi-agent coordination, context compression, and proactive coding-agent workflows. The licence is MIT.
9 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 3899650. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Structured Context Compressor loads about 327 tokens when it runs, and up to ~558 if it reads all its reference files. Until then it costs about 49 tokens; SKILL.md has 119 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from LearnPrompt/cc-harness-skills at commit 3899650, republished under its MIT licence (© LearnPrompt). 119 words, ~327 tokens.
.claude/skills/structured-context-compressor/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Use this skill when a free-form summary is too lossy and you need a reliable continuation artifact.
Render the standard template:
python3 {baseDir}/scripts/render_template.pyThen apply the prompt in references/prompt-template.md.
Preserve all user messages or an accurate equivalent. Do not compress away the corrections that changed the direction of work.
python3 {baseDir}/scripts/render_template.py© LearnPrompt, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (scripts, references) in skills/structured-context-compressor of LearnPrompt/cc-harness-skills.
Open the folder on GitHubat commit 3899650
Structured Context Compressor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Structured Context Compressor this skillLearnPrompt/cc-harness-skills | 236 | — | ~327 | Automated safety check: Pass | MIT | |
| Claude Code Agent Developmentanthropics/claude-plugins-official | 37k | 8 repos | ~2.8k | Automated safety check: Pass | Apache-2.0 | |
| Copilot Session Failure Analysisdotnet/maui | 23k | — | ~3.4k | Automated safety check: Pass | MIT | |
| Mem0 CLI Memory Commandsmem0ai/mem0 | 67k | — | ~1.4k | Automated safety check: Notes | Apache-2.0 | |
| Create Agentvectorize-io/hindsight | 46k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Google Antigravity SDKgoogle-antigravity/antigravity-sdk-python | 3.6k | — | ~2.1k | Automated safety check: Notes | Apache-2.0 |
anthropics/claude-plugins-official
Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.
dotnet/maui
Mines local Copilot CLI session logs for dotnet/maui to rank costly or failing runs, tag recurring failure modes, propose repo edits and emit guard evals.
mem0ai/mem0
Adds, searches, lists, updates and deletes memories on the Mem0 platform from the terminal with the mem0 command, including a JSON mode built for agents.
vectorize-io/hindsight
Create a new Hindsight-powered subagent with long-term memory.
google-antigravity/antigravity-sdk-python
Design, implement, and debug autonomous AI agents and multi-agent systems using the Google Antigravity (AGY) SDK.
yaojingang/yao-meta-skill
Create, improve, or evaluate an existing skill from workflows, prompts, SOPs, scripts.
LearnPrompt/cc-harness-skills
Consolidate recent logs, sessions, and existing memory files into durable topic memories, normalize dates, prune stale entries, and keep MEMORY.md short enough for prompt use.
LearnPrompt/cc-harness-skills
Build a lightweight proactive mode with scheduled checks, sleep intervals, concise user briefs, and expiry safeguards so an agent can work in the background without becoming an uncontrolled daemon.
LearnPrompt/cc-harness-skills
Extract durable memories from recent conversation turns into user, feedback, project, and reference categories while avoiding stale code-state facts.
LearnPrompt/cc-harness-skills
Coordinate multiple agents by splitting work into research, synthesis, implementation, and verification, assigning ownership, and keeping the coordinator focused on integration rather than raw…
LearnPrompt/cc-harness-skills
Run a read-only verification pass after implementation to check whether completion claims are real, validation actually ran, and obvious edge cases or regressions were missed.
Categories
Compress a long agent conversation into a nine-part continuation summary that preserves request, files, errors, user messages, current work, and the next aligned step. Structured Context Compressor is an agent skill from LearnPrompt/cc-harness-skills. Compress a long agent conversation into a nine-part continuation summary that preserves request, files, errors, user messages, current work, and the next aligned step.
Structured Context Compressor fits situations like: agent Workflows work in your project.
Run `npx skills add LearnPrompt/cc-harness-skills --skill structured-context-compressor -a claude-code`. Or copy the skill folder (skills/structured-context-compressor in LearnPrompt/cc-harness-skills) into .claude/skills/structured-context-compressor in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LearnPrompt/cc-harness-skills --skill structured-context-compressor -a codex`. Or copy the skill folder (skills/structured-context-compressor in LearnPrompt/cc-harness-skills) into .agents/skills/structured-context-compressor in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LearnPrompt/cc-harness-skills --skill structured-context-compressor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/structured-context-compressor, .gemini/skills/structured-context-compressor, .github/skills/structured-context-compressor and .opencode/skills/structured-context-compressor in your project.
Going by SKILL.md and its folder, Structured Context Compressor needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Structured Context Compressor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 327 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 231 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Structured Context Compressor: Claude Code Agent Development (anthropics/claude-plugins-official, 37k stars), Copilot Session Failure Analysis (dotnet/maui, 23k stars), Mem0 CLI Memory Commands (mem0ai/mem0, 67k stars) and Create Agent (vectorize-io/hindsight, 46k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LearnPrompt (a GitHub user) maintains it in LearnPrompt/cc-harness-skills, which has 236 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on July 10, 2026.
Source: LearnPrompt/cc-harness-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.