Context Mode Output Sandbox
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
Design or audit what an agent tool returns: shape and trim payloads, paginate, report partial success, reference files and media, and add next-step hints.
$ npx skills add hashgraph-online/awesome-codex-plugins --skill tool-design-output -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins tool-design-output --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/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/runtypelabs/skills/skills/tool-design-output .claude/skills/tool-design-output && 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 "tool-design-output" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/runtypelabs/skills/skills/tool-design-output into .claude/skills/tool-design-output/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tool-design-output", 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/hashgraph-online/awesome-codex-plugins/tree/main/plugins/runtypelabs/skills/skills/tool-design-outputType 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 hashgraph-online/awesome-codex-plugins --skill tool-design-output -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins tool-design-output --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/runtypelabs/skills/skills/tool-design-output .agents/skills/tool-design-output && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tool-design-output" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/runtypelabs/skills/skills/tool-design-output into .agents/skills/tool-design-output/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tool-design-output", 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 hashgraph-online/awesome-codex-plugins --skill tool-design-output -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins tool-design-output --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/runtypelabs/skills/skills/tool-design-output .cursor/skills/tool-design-output && 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 "tool-design-output" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/runtypelabs/skills/skills/tool-design-output into .cursor/skills/tool-design-output/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tool-design-output", 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/hashgraph-online/awesome-codex-plugins.git --path plugins/runtypelabs/skills/skills/tool-design-output--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 hashgraph-online/awesome-codex-plugins --skill tool-design-output -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins tool-design-output --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/runtypelabs/skills/skills/tool-design-output .gemini/skills/tool-design-output && 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 "tool-design-output" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/runtypelabs/skills/skills/tool-design-output into .gemini/skills/tool-design-output/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tool-design-output", 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 hashgraph-online/awesome-codex-plugins tool-design-outputInstalls 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 hashgraph-online/awesome-codex-plugins --skill tool-design-output -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/runtypelabs/skills/skills/tool-design-output .github/skills/tool-design-output && 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 "tool-design-output" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/runtypelabs/skills/skills/tool-design-output into .github/skills/tool-design-output/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tool-design-output", 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 hashgraph-online/awesome-codex-plugins --skill tool-design-output -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins tool-design-output --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/runtypelabs/skills/skills/tool-design-output .opencode/skills/tool-design-output && 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 "tool-design-output" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/runtypelabs/skills/skills/tool-design-output into .opencode/skills/tool-design-output/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tool-design-output", 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.
tool-design-outputDesign or audit what an agent tool returns: shape and trim payloads, paginate, report partial success, reference files and media, and add next-step hints.
Tool Design Output is an agent skill from hashgraph-online/awesome-codex-plugins. Design or audit what an agent tool returns: shape and trim payloads, paginate, report partial success, reference files and media, and add next-step hints. Use when tool output bloats the context window.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in Agent Workflows, covering Context engineering. The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is Apache-2.0.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 9e7b281. 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
docs.runtype.comFrom 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.
Tool Design Output loads about 2.3k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 1,118 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 hashgraph-online/awesome-codex-plugins at commit 9e7b281, republished under its Apache-2.0 licence (© hashgraph-online). 1,118 words, ~2,293 tokens.
.claude/skills/tool-design-output/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Every byte a tool returns costs context tokens and becomes part of the model's next input. Design the result as that input.
hasMore and cursor, GUI URLs, and a next-action hint.Never return the upstream payload as-is. Flatten nesting, select relevant fields, rename
cryptic keys, add computed fields, and convert machine encodings to readable ones
(ISO-8601 datetimes, not epoch seconds; active: true, not status_code: 2).
Before:
{
"data": {
"id": "usr_123",
"user": {
"attributes": {
"first_name": "Ada",
"last_name": "Lovelace",
"contact": { "primary_email": "ada@example.com" },
"perm": { "r": "admin" },
"st": 2,
"created": 1719800000
}
}
}
}After:
{
"id": "usr_123",
"name": "Ada Lovelace",
"email": "ada@example.com",
"role": "admin",
"active": true,
"createdAt": "2024-07-01T02:13:20Z"
}"bodyTruncated": true).includeBody: false by default, with the description
telling the agent which call fetches the full item.Page numbers and offsets drift as data changes. A cursor that encodes the last item's sort key, not a position, does not. Return:
{
"items": [],
"count": 50,
"hasMore": true,
"nextCursor": "eyJhZnRlciI6ImN0Y18wNTAifQ",
"nextAction": { "tool": "list_contacts", "args": { "cursor": "eyJhZnRlciI6ImN0Y18wNTAifQ" } }
}Accept limit with a sensible default and a hard maximum. Keep ordering stable for the
same query. Always include hasMore explicitly, even when false.
Default to the summary the agent usually needs. Offer a detail enum
(summary | full) or specific include* flags for sections such as comments or
attachments, and document exactly what each level includes. Pair with a get_* tool
that returns one item in full.
A result can carry the suggested follow-up: tool name plus the parameters to pass, the data still required, and alternative paths. This is the tool-side half of dependency hints and removes a guess from the agent's loop.
{
"jobId": "job_9",
"status": "queued",
"nextAction": { "tool": "check_job_status", "args": { "jobId": "job_9" }, "afterSeconds": 30 }
}Any tool that creates or reads a resource with a web UI returns viewUrl, and editUrl
where editing exists. Use deep links to the specific resource. Note expiry for links to
sensitive resources.
Batch and multi-source tools never collapse to a single boolean. Return successes, failures with reasons, summary counts, and a retry hint for exactly the failed items:
{
"total": 3,
"succeeded": 2,
"failed": 1,
"results": [
{ "email": "a@example.com", "ok": true },
{ "email": "b@example.com", "ok": true },
{ "email": "c@example.com", "ok": false, "error": "mailbox full", "retryable": true }
],
"nextAction": { "tool": "send_invites", "args": { "emails": ["c@example.com"] } }
}Files and blobs travel as typed URIs (resource://files/abc, with contentType,
sizeBytes, and a name) that other tools resolve. The conversation carries the
reference, not the bytes. Handle expired or missing references with a clear error.
Define canonical shapes (User, Task, Event, Page) once and map every tool's
upstream response onto them. Same field names for the same concept everywhere
(createdAt in every tool, never created, creationDate, and ts in three tools).
Consistent shapes are what let one tool's output feed the next tool's input without a
transformation step in the agent's head.
response.json() from the upstream API.limit, no cursor, and no count.hasMore omitted when false, so the agent cannot tell "done" from "unknown".For error shapes, retry classification, and step failure defaults, see
tool-design-errors.
Runtime tool results go to the model directly. An external tool returns the
upstream body unchanged (its body template maps the request, not the response), so
shape a noisy payload in a flow tool whose api-call step feeds a transform-data
step. A custom code tool has no network egress unless it opts in with
networkAccess (an allowedHostnames list is the safe form); without it, the tool can
shape only what arrives in its parameters.
A flow tool returns the value that the flow's final executed step wrote. Set
outputVariable to return one named flow variable instead, such as the
transform-data output, and outputMapping to select a dot path inside it. A
_-prefixed variable is rejected, and a variable the flow never assigned fails the
tool call. See Flow tools.
If you run your own MCP server, apply these rules to its results. You cannot reshape a third-party MCP server's results, so prefer its narrower tools.
paginate-api is the platform's pagination step for upstream lists (cursor, offset,
page, or Link header).
Empty is not the same as failed. A fetch-class step (fetch-url, api-call,
crawl, search) with errorHandling unset swallows a failure into
defaultValue (or an empty result) and reports success, so a downstream
transform-data or upsert-record runs over zero rows as if the API returned
nothing. validate_flow warns with FETCH_CLASS_SWALLOWING_FEED; set
errorHandling: { "onError": "fail" } when an empty result must not look like a real
one. Unlike these steps, paginate-api fails by default.
upsert-record needs a JSON object as its source. validate_flow warns with
UPSERT_RECORD_SOURCE_NOT_JSON when a text prompt feeds it, and the write fails at
runtime. Set the prompt's responseFormat to "json", shape the value in
transform-data, or set contentField on the upsert step to wrap the string.
Store large content in a record and return its id. The agent calls get_record to
fetch it.
Binary media over 4 KB in a tool result, such as a screenshot or a generated image,
becomes a runtype-asset:// handle automatically, so later turns carry the handle, not
the bytes. Handles expire after 7 days. To accept one, declare the parameter with
contentEncoding: "base64", and Runtype substitutes the stored bytes before the call:
{ "image": { "type": "string", "contentEncoding": "base64" } }The model receives each new tool result in full; Runtype does not truncate it for you. Older results outside the recent window (40,000 tokens by default) are masked: the model sees only a short "cleared" placeholder, not a trimmed copy. Write anything the agent needs in later turns to a record. See Context compaction.
To verify a result shape, run the tool with execute_tool and read the raw result.
After an agent run, the Context window bar in
Logs shows the share of
input tokens that tool results take, and hints when they dominate.
© hashgraph-online, 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 1 other file in plugins/runtypelabs/skills/skills/tool-design-output of hashgraph-online/awesome-codex-plugins.
Open the folder on GitHubat commit 9e7b281
Tool Design Output 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 |
|---|---|---|---|---|---|---|
| Tool Design Output this skillhashgraph-online/awesome-codex-plugins | 1.3k | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Context Mode Output Sandboxmksglu/context-mode | 26k | — | ~4.1k | Automated safety check: Pass | Custom licence | |
| Memori Long-Term MemoryMemoriLabs/Memori | 17k | — | ~2k | Automated safety check: Notes | Custom licence | |
| Picoclaw Skill Creatorsipeed/picoclaw | 30k | — | ~4.4k | Automated safety check: Pass | MIT | |
| ccc Semantic Code Searchcocoindex-io/cocoindex-code | 2.8k | — | ~938 | Automated safety check: Pass | Apache-2.0 | |
| Context Mode for Antigravity CLImksglu/context-mode | 26k | — | ~850 | Automated safety check: Pass | Custom licence |
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
MemoriLabs/Memori
Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.
sipeed/picoclaw
Guidance for creating, updating and reviewing Picoclaw skills, from the SKILL.md structure to organizing bundled scripts, references and assets.
cocoindex-io/cocoindex-code
Semantic code search and index management with the ccc CLI: the agent initializes, indexes and queries the project by concept, filtering by language or path.
mksglu/context-mode
Routing rules for using context-mode MCP tools in Antigravity CLI: sandboxed code runs, file analysis, indexed search and web fetches that keep large output out of the conversation.
alexgreensh/token-optimizer
Audit a Claude Code or Codex setup for context-window waste, then fix it and measure the savings.
hashgraph-online/awesome-codex-plugins
Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.
hashgraph-online/awesome-codex-plugins
Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).
hashgraph-online/awesome-codex-plugins
A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…
hashgraph-online/awesome-codex-plugins
Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…
hashgraph-online/awesome-codex-plugins
Use CALL-E from Codex through the calle CLI. An agent skill from hashgraph-online/awesome-codex-plugins.
hashgraph-online/awesome-codex-plugins
Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.
Categories
Design or audit what an agent tool returns: shape and trim payloads, paginate, report partial success, reference files and media, and add next-step hints. Tool Design Output is an agent skill from hashgraph-online/awesome-codex-plugins. Design or audit what an agent tool returns: shape and trim payloads, paginate, report partial success, reference files and media, and add next-step hints.
Tool Design Output fits situations like: tool output bloats the context window; tasks that involve Context engineering.
Run `npx skills add hashgraph-online/awesome-codex-plugins --skill tool-design-output -a claude-code`. Or copy the skill folder (plugins/runtypelabs/skills/skills/tool-design-output in hashgraph-online/awesome-codex-plugins) into .claude/skills/tool-design-output in your project. Claude Code loads it when a task matches its description.
Run `npx skills add hashgraph-online/awesome-codex-plugins --skill tool-design-output -a codex`. Or copy the skill folder (plugins/runtypelabs/skills/skills/tool-design-output in hashgraph-online/awesome-codex-plugins) into .agents/skills/tool-design-output 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 hashgraph-online/awesome-codex-plugins --skill tool-design-output -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tool-design-output, .gemini/skills/tool-design-output, .github/skills/tool-design-output and .opencode/skills/tool-design-output in your project.
SKILL.md names no scripts, command-line tools or credentials: Tool Design Output is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: docs.runtype.com. 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.
Tool Design Output is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Tool Design Output: Context Mode Output Sandbox (mksglu/context-mode, 26k stars), Memori Long-Term Memory (MemoriLabs/Memori, 17k stars), Picoclaw Skill Creator (sipeed/picoclaw, 30k stars) and ccc Semantic Code Search (cocoindex-io/cocoindex-code, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,255 GitHub stars. The repository holds 714 skills in this directory. The repository was last updated on October 9, 2026.
Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.