Octocode Graph Eval Loop
bgauryy/octocode
Runs a measurable keep-or-discard improvement loop against a runnable sensor, from framing a goal and KPI through baseline, judging and held-out verification.
Lets a Hermes agent run Autocontext scenarios, inspect Hermes curator state, export reusable knowledge and prepare local MLX or CUDA training data through the autoctx CLI.
$ npx skills add greyhaven-ai/autocontext --skill autocontext -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install greyhaven-ai/autocontext autocontext --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/greyhaven-ai/autocontext.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/autocontext .claude/skills/autocontext && 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 "autocontext" agent skill from https://github.com/greyhaven-ai/autocontext/tree/main/skills/autocontext into .claude/skills/autocontext/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autocontext", 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/greyhaven-ai/autocontext/tree/main/skills/autocontextType 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 greyhaven-ai/autocontext --skill autocontext -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install greyhaven-ai/autocontext autocontext --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/greyhaven-ai/autocontext.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/autocontext .agents/skills/autocontext && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "autocontext" agent skill from https://github.com/greyhaven-ai/autocontext/tree/main/skills/autocontext into .agents/skills/autocontext/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autocontext", 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 greyhaven-ai/autocontext --skill autocontext -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install greyhaven-ai/autocontext autocontext --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/greyhaven-ai/autocontext.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/autocontext .cursor/skills/autocontext && 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 "autocontext" agent skill from https://github.com/greyhaven-ai/autocontext/tree/main/skills/autocontext into .cursor/skills/autocontext/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autocontext", 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/greyhaven-ai/autocontext.git --path skills/autocontext--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 greyhaven-ai/autocontext --skill autocontext -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install greyhaven-ai/autocontext autocontext --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/greyhaven-ai/autocontext.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/autocontext .gemini/skills/autocontext && 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 "autocontext" agent skill from https://github.com/greyhaven-ai/autocontext/tree/main/skills/autocontext into .gemini/skills/autocontext/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autocontext", 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 greyhaven-ai/autocontext autocontextInstalls 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 greyhaven-ai/autocontext --skill autocontext -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/greyhaven-ai/autocontext.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/autocontext .github/skills/autocontext && 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 "autocontext" agent skill from https://github.com/greyhaven-ai/autocontext/tree/main/skills/autocontext into .github/skills/autocontext/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autocontext", 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 greyhaven-ai/autocontext --skill autocontext -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install greyhaven-ai/autocontext autocontext --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/greyhaven-ai/autocontext.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/autocontext .opencode/skills/autocontext && 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 "autocontext" agent skill from https://github.com/greyhaven-ai/autocontext/tree/main/skills/autocontext into .opencode/skills/autocontext/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autocontext", 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.
autocontextLets a Hermes agent run Autocontext scenarios, inspect Hermes curator state, export reusable knowledge and prepare local MLX or CUDA training data through the autoctx CLI.
Autocontext is described as a control plane for evaluating agent behavior, keeping useful run artifacts, exporting training data and distilling stable behavior into local runtimes. This skill covers using it from Hermes when the work calls for measurement, replay, datasets, local MLX or CUDA training, or read-only analysis of how Hermes skills are curated.
The command line comes first: the autoctx CLI runs from a checkout of Autocontext through uv, for example to inspect Hermes skill and curator state as JSON without changing anything. MCP is optional and only worth using when it is already configured and typed schemas help. Hermes Curator keeps ownership of changing Hermes skills, so the agent inspects, evaluates, replays, exports and recommends, and edits skills only when you ask. Reference notes cover CLI, curator, local training and MCP workflows.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit f72c154. 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.
Shell commands in SKILL.md call:
uvFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
AUTOCONTEXT_AGENT_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Autocontext for Hermes loads about 2.5k tokens when it runs, and up to ~4.8k if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 1,042 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); files beside SKILL.md are not scanned.
The full file from greyhaven-ai/autocontext at commit f72c154, republished under its Apache-2.0 licence (© greyhaven-ai). 1,042 words, ~2,496 tokens.
.claude/skills/autocontext/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Autocontext is a control plane for evaluating agent behavior, preserving useful run artifacts, exporting training data, and distilling stable behavior into local runtimes. In Hermes, use this skill when the work calls for measurement, replay, datasets, local MLX/CUDA training, or read-only analysis of Hermes skill curation.
Hermes Curator owns Hermes skill mutation. Autocontext should inspect, evaluate, replay, export, and recommend. Do not use Autocontext as a replacement for Hermes Curator, and do not edit Hermes skills directly unless the user explicitly asks for that operation.
Do not use this skill for normal Hermes memory updates, direct skill consolidation, or user-local skill deletion. Those are Hermes Curator responsibilities.
Use the CLI first. The autoctx CLI is the default surface because Hermes agents can run it with normal terminal tools, see stdout and stderr, preserve logs, and debug failures without special host configuration.
MCP is optional. Use MCP when the environment already has Autocontext MCP configured and the task benefits from typed schemas, constrained invocation, or tool discovery. Do not require MCP just to wrap a command that the CLI already exposes cleanly.
Use a native Hermes runtime or OpenAI-compatible gateway when Autocontext is calling Hermes as an agent provider. Use a Hermes plugin emitter only when the user specifically needs high-fidelity live traces beyond read-only import of existing Hermes artifacts.
From a checkout of Autocontext:
cd autocontext
uv run autoctx --helpInspect Hermes skill and curator state without modifying Hermes:
uv run autoctx hermes inspect --jsonFor a custom profile or test fixture:
uv run autoctx hermes inspect --home "$HERMES_HOME" --jsonInstall or refresh this skill into a Hermes profile:
uv run autoctx hermes export-skill --output ~/.hermes/skills/autocontext/SKILL.md --jsonIf the file already exists and the user wants to replace it:
uv run autoctx hermes export-skill --output ~/.hermes/skills/autocontext/SKILL.md --force --jsonUse --json whenever Hermes needs to parse the result.
RUN_ID="hermes_$(date +%s)"
uv run autoctx run grid_ctf --iterations 3 --run-id "$RUN_ID" --json
uv run autoctx status "$RUN_ID" --json
uv run autoctx replay "$RUN_ID" --generation 1For a plain-language task:
uv run autoctx solve "Improve the support-triage response policy." --iterations 3 --jsonFor one-shot judgment or improvement:
uv run autoctx judge --task-prompt "..." --output "..." --rubric "..." --json
uv run autoctx improve --task-prompt "..." --rubric "..." --rounds 3 --jsonWhen Autocontext should call a Hermes-served model through an OpenAI-compatible gateway:
export AUTOCONTEXT_AGENT_PROVIDER=openai-compatible
export AUTOCONTEXT_AGENT_BASE_URL=http://localhost:8080/v1
export AUTOCONTEXT_AGENT_API_KEY=no-key
export AUTOCONTEXT_AGENT_DEFAULT_MODEL=hermes-3-llama-3.1-8b
uv run autoctx solve "..." --iterations 3 --jsonKeep provider configuration outside the skill when possible. The user or profile should own secrets, base URLs, and model names.
Hermes v0.12 writes Curator reports under ~/.hermes/logs/curator/<timestamp>/run.json and REPORT.md. It tracks skill usage in ~/.hermes/skills/.usage.json, and protects bundled or hub-installed skills through .bundled_manifest and .hub/lock.json.
Use:
uv run autoctx hermes inspect --jsonRead the output as an inventory:
agent_created_skill_count means Curator-eligible user or agent skills.bundled_skill_count and hub_skill_count are upstream-owned skills and should not be pruned by Autocontext.pinned_skill_count identifies skills Curator and agents should not modify.curator.latest.counts summarizes the latest consolidation, pruning, and archive activity.Autocontext can use these signals for reports, datasets, and recommendations. Hermes Curator remains the writer for Hermes skill lifecycle changes.
Curator decision reports are decision metadata and safe to import without redaction. Session and trajectory imports are different: they contain raw model prompts and responses, which may include secrets, tokens, or content the operator did not intend for external storage.
Before recommending or running autoctx hermes ingest-sessions or autoctx hermes ingest-trajectories, explain the privacy tradeoff: the importer is read-only against ~/.hermes, but the output JSONL contains the same content unless redaction is applied. Default is --redact standard (Anthropic/OpenAI keys, bearer tokens, emails, IPs, env values, paths, high-risk file refs). --redact strict adds user-defined regexes. --redact off writes raw content and the importer surfaces an explicit opt-in marker. Sessions in particular live in a SQLite store: an unwarranted ingest creates a new copy of every prompt and response. Prefer --dry-run first when the operator is unsure of the blast radius.
For Autocontext-owned runs, export training data and train locally:
uv run autoctx export-training-data --scenario grid_ctf --all-runs --output training/grid_ctf.jsonl
uv run autoctx train --scenario grid_ctf --data training/grid_ctf.jsonl --backend mlx --time-budget 300 --json
uv run autoctx train --scenario grid_ctf --data training/grid_ctf.jsonl --backend cuda --time-budget 300 --jsonUse MLX on Apple Silicon hosts. Use CUDA on Linux GPU hosts with a CUDA-enabled PyTorch install. Do not run host-GPU training inside a sandbox unless the user has already provided a host bridge or direct GPU access.
For Hermes Curator artifacts, train a narrow read-only advisor from exported decision rows:
uv run autoctx hermes export-dataset --kind curator-decisions --home ~/.hermes --output training/hermes-curator-decisions.jsonl --json
uv run autoctx hermes train-advisor --data training/hermes-curator-decisions.jsonl --logistic --checkpoint training/hermes-advisor.json --json
uv run autoctx hermes recommend --home ~/.hermes --advisor training/hermes-advisor.json --output training/hermes-recommendations.jsonl --jsonUse --baseline first for the majority-class floor. Use --mlx on Apple Silicon or --cuda on PyTorch/CUDA hosts when the optional extra is installed. Curator reports are decision traces; they are best suited for advisor/ranker/classifier training, not full autonomous skill mutation.
MCP is optional. If the user has already configured Autocontext MCP, prefer it for structured tool calls that are easier or safer than shell commands. Otherwise, stay with the CLI.
Check the local integration guide before inventing tool names:
uv run autoctx serve mcp --helpUse MCP only when it adds value beyond the CLI: stable schemas, lower parsing burden, managed tool discovery, or a host policy that disallows shell access.
~/.hermes/skills after inspection. autoctx hermes inspect is read-only; keep it that way during analysis.--json when Hermes needs to parse command output.autoctx hermes inspect --json before making claims about local Hermes skill state.Progressive-disclosure docs available alongside this skill. Load only when relevant.
references/hermes-curator.md — How Hermes Curator and autocontext cooperate; who owns what; the read-only-first rule.references/cli-workflows.md — Exact autoctx commands for inventory, curator ingest, dataset export, judging, replay.references/mcp-workflows.md — MCP server setup, CLI-to-MCP tool name mapping, when to prefer MCP over CLI.references/local-training.md — How autocontext-exported datasets feed local MLX/CUDA advisor training; what the advisor predicts; expected scope.Operators can write all references next to this skill via autoctx hermes export-skill --with-references --output <dir>/SKILL.md.
© greyhaven-ai, Apache-2.0. 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 (references) in skills/autocontext of greyhaven-ai/autocontext.
Open the folder on GitHubat commit f72c154
Autocontext for Hermes 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 |
|---|---|---|---|---|---|---|
| Autocontext for Hermes this skillgreyhaven-ai/autocontext | 1.3k | — | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| Octocode Graph Eval Loopbgauryy/octocode | 949 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Benchmark Agentsvercel/vercel-plugin | 301 | — | ~3.6k | Automated safety check: Pass | Custom licence | |
| MCP Server Builderanthropics/skills | 180k | 63 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Darwin Skill Optimizeralchaincyf/darwin-skill | 6.2k | 1 repos | ~4.7k | Automated safety check: Pass | MIT | |
| Open-Science Skill Creatoraipoch/open-science | 5.5k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 |
bgauryy/octocode
Runs a measurable keep-or-discard improvement loop against a runnable sensor, from framing a goal and KPI through baseline, judging and held-out verification.
vercel/vercel-plugin
Advanced AI agent benchmark scenarios that push Vercel's cutting-edge platform features — Workflow SDK, AI Gateway, MCP, Chat SDK, Queues, Flags, Sandbox, and multi-agent orchestration.
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
alchaincyf/darwin-skill
Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.
aipoch/open-science
Creates, revises, evaluates and publishes skills in the Open-Science app through its native host.skills composer, with optional test prompts and benchmarks.
runkids/skillshare
Manage skills, agents, extras, hooks, plugins, and MCP connection settings with the Skillshare CLI.
greyhaven-ai/autocontext
Runs LLM-based rubric judging on agent output and loops revise-and-rejudge rounds until a quality threshold is met.
greyhaven-ai/autocontext
Reads and moves the playbooks and lessons that Autocontext has already learned, using the autoctx CLI and plain files on disk.
greyhaven-ai/autocontext
Runs the `autoctx` CLI to improve an approach to a task over several generations, score or refine a single output and inspect what a run produced.
greyhaven-ai/autocontext
Operational notes for generating, evaluating and debugging strategies in the autocontext grid_ctf scenario, with tier rules and parameter ranges that worked or failed.
Works with
Categories
Lets a Hermes agent run Autocontext scenarios, inspect Hermes curator state, export reusable knowledge and prepare local MLX or CUDA training data through the autoctx CLI. Autocontext is described as a control plane for evaluating agent behavior, keeping useful run artifacts, exporting training data and distilling stable behavior into local runtimes. This skill covers using it from Hermes when the work calls for measurement, replay, datasets, local MLX or CUDA training, or read-only analysis of how Hermes skills are curated.
Autocontext for Hermes fits situations like: running an Autocontext scenario from Hermes and reading the result; checking Hermes Curator reports, skill usage counters or pinned state; exporting solved knowledge as a reusable package; preparing data for local MLX or CUDA training.
Run `npx skills add greyhaven-ai/autocontext --skill autocontext -a claude-code`. Or copy the skill folder (skills/autocontext in greyhaven-ai/autocontext) into .claude/skills/autocontext in your project. Claude Code loads it when a task matches its description.
Run `npx skills add greyhaven-ai/autocontext --skill autocontext -a codex`. Or copy the skill folder (skills/autocontext in greyhaven-ai/autocontext) into .agents/skills/autocontext 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 greyhaven-ai/autocontext --skill autocontext -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/autocontext, .gemini/skills/autocontext, .github/skills/autocontext and .opencode/skills/autocontext in your project.
Going by SKILL.md and its folder, Autocontext for Hermes needs the command-line tools its instructions call (uv) and credentials named AUTOCONTEXT_AGENT_API_KEY. Our summary lists: A checkout of Autocontext with uv installed; A Hermes agent profile.
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. 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. Review the folder before installing.
Autocontext for Hermes is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k 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 2.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Autocontext for Hermes: Octocode Graph Eval Loop (bgauryy/octocode, 949 stars), Benchmark Agents (vercel/vercel-plugin, 301 stars), MCP Server Builder (anthropics/skills, 180k stars) and Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
greyhaven-ai (a GitHub organization) maintains it in greyhaven-ai/autocontext, which has 1,305 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 7, 2026.
Source: greyhaven-ai/autocontext on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.