clip

clip is a skill for Claude Code, Codex from krapie/mycelium. It costs 38 tokens per session (303 once invoked), scanned A, original, MIT.

A command that pins a chosen answer from a conversation to Mycelium, preserving it word for word. It runs only when explicitly invoked or requested.

In plain words
What is it for?
It can pin the newest answer, a specified number of recent turns, or a selected range, with an optional note.
Why use it?
It provides a way to save a useful answer for later instead of relying on the conversation history.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It can pin the newest answer, a specified number of recent turns, or a selected range, with an optional note.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/krapie/mycelium/clip
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add krapie/mycelium --skill clip
Clone the repo
git clone --depth 1 https://github.com/krapie/mycelium

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for clip

README.md
[![agentmods](https://agentmods.dev/badge/skills/krapie/mycelium/clip/github.svg)](https://agentmods.dev/skills/krapie/mycelium/clip)
Your own site
<a href="https://agentmods.dev/skills/krapie/mycelium/clip"><img src="https://agentmods.dev/badge/skills/krapie/mycelium/clip/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for clip

Your own site · 80×15
<a href="https://agentmods.dev/skills/krapie/mycelium/clip"><img src="https://agentmods.dev/badge/skills/krapie/mycelium/clip.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 303 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00303
Opus 5.5 $0.00015 $0.00121
Sonnet 5.5 $0.00008 $0.00061
Haiku 4.5 $0.00004 $0.00030

Measured 4d ago against content hash 18acc3e23dad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clip scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/agent-commands/codex/clip/SKILL.md · 23 lines

What it actually says

Clip to Mycelium

The user's message that invoked this skill is the request. What they wrote with $clip are the arguments: [N | pick] [note].

  1. First run this shell command, which lists the recent answers before the request with their turn numbers:

    mycelium clip add --here --list --skip-request

  2. Pin by running mycelium clip add --here --turn <turn or range> --note "<note>". Use only turn numbers from that list, never guessed ones. Leave out --note when there is no note, and quote the note safely.

    • No arguments, or only a note: pin the newest answer.
    • A number N first (e.g. 3 note): pin the last N turns ending at the newest answer, using the range form the list's last line gives.
    • pick first: show the user the list as a short numbered list, ask which turn or range to pin, and run nothing until they answer.
  3. Tell the user in one line what was clipped: the id and the preview line.

If a command fails, show its error as it is. Do not retry with a session id you guessed. Do nothing else.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 23 lines · 38 tokens per session scan A 18acc3e23dad

Subscribe to this mod's changes

clip is a skill published in the GitHub repository krapie/mycelium (42 stars, last pushed 2d ago), licensed MIT. It adds 38 tokens to every session and 303 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-24.