agentcairn-setup

agentcairn-setup is a skill for Codex from ccf/agentcairn. It costs 91 tokens per session (1,593 once invoked), scanned A, original, Apache-2.0.

Instructions for installing and maintaining AgentCairn, a local system that lets different coding agents share persistent memory.

In plain words
What is it for?
Use them to install, configure, verify, upgrade, or repair AgentCairn for supported coding tools and editors.
Why use it?
They define the supported setup process and help diagnose missing, broken, or outdated memory integrations.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex; mentions Gemini CLI.

Good fit Use them to install, configure, verify, upgrade, or repair AgentCairn for supported coding tools and editors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ccf/agentcairn/agentcairn-setup
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 ccf/agentcairn --skill agentcairn-setup
Clone the repo
git clone --depth 1 https://github.com/ccf/agentcairn

Made for: 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 agentcairn-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/ccf/agentcairn/agentcairn-setup/github.svg)](https://agentmods.dev/skills/ccf/agentcairn/agentcairn-setup)
Your own site
<a href="https://agentmods.dev/skills/ccf/agentcairn/agentcairn-setup"><img src="https://agentmods.dev/badge/skills/ccf/agentcairn/agentcairn-setup/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 agentcairn-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/ccf/agentcairn/agentcairn-setup"><img src="https://agentmods.dev/badge/skills/ccf/agentcairn/agentcairn-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,593 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 10 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 14
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 20
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 71
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 81
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 87
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 101
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 113
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 119
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 145
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 19
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
How audits are shown
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.00091 $0.01593
Opus 5.5 $0.00036 $0.00637
Sonnet 5.5 $0.00018 $0.00319
Haiku 4.5 $0.00009 $0.00159

Measured 1mo ago against content hash 52339707261a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agentcairn-setup 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 1mo 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.

skills/agentcairn-setup/SKILL.md · 173 lines

How it starts

The opening of the file, as written. The whole thing — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AgentCairn setup

Set up the full AgentCairn integration by delegating to AgentCairn's native, preview-first installer. Treat this skill as a management layer only: installing this skill does not install the AgentCairn runtime, MCP server, plugin, or hooks.

Preserve the boundary

  • Use uvx --from agentcairn cairn install as the source of truth for supported hosts and generated configuration.
  • Do not copy plugin files, write MCP configuration by hand, or reproduce the installer's host-specific logic.
  • Do not claim AgentCairn is ready merely because this setup skill is present.
  • Do not use plain uvx cairn; that resolves an unrelated package. Use uvx --from agentcairn cairn ....
  • Use --vault only for MCP hosts. Configure plugin-host vaults through the plugin or AgentCairn's shared configuration.
  • Do not install or repair every detected host unless the user explicitly asks.
  • Do not write a test memory without the user's approval.

1. Establish the target

Check whether AgentCairn's recall and remember MCP tools are already loaded. If they are available and the user did not request an upgrade or repair, report that the full integration is active and move to verification.

Identify the current or requested host. Use these installer IDs:

Host Installer ID Integration
Claude Code claude-code Native plugin, MCP tools, skill, and hooks
Codex codex Native plugin, MCP tools, skill, and hooks
Cursor cursor MCP configuration and memory skill
OpenCode opencode MCP configuration, commands, and native plugin
Antigravity antigravity Native plugin; requires a local plugin source
VS Code / Copilot vscode MCP configuration
Claude Desktop claude-desktop MCP configuration
Gemini CLI gemini MCP configuration

Treat Hermes Agent separately because it uses a native MemoryProvider, not cairn install:

hermes plugins install ccf/agentcairn/integrations/hermes
hermes memory setup agentcairn

Read the full file on GitHub · 173 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 173 lines · 91 tokens per session scan A 52339707261a

Subscribe to this mod's changes

agentcairn-setup is a skill published in the GitHub repository ccf/agentcairn (67 stars, last pushed 5d ago), licensed Apache-2.0. It adds 91 tokens to every session and 1,593 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

agentmemory-config

Set up and diagnose local agentmemory, including MCP, environment variables, ports, and feature flags. Use when getting started, checking a connection, enabling a feature, configuring auth, or explaining why a feature is off by default.

rohitg00/agentmemory · 50 tokens

agentmemory-agents

How agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent, when asked which agents are supported, or when a connect adapter writes the wrong config path.

rohitg00/agentmemory · 46 tokens

memory-discipline

The session loop that makes agentmemory pay off, recall before starting work, save at decision points, learn from corrections. Use when starting a nontrivial task, after settling a decision or debugging a gotcha, or whenever deciding if something belongs in memory.

rohitg00/agentmemory · 56 tokens

agentmemory-hooks

The agentmemory plugin hooks that capture observations automatically across the agent session lifecycle. Use when explaining how memory gets captured without manual saves, when debugging missing observations, or when tuning what gets recorded.

rohitg00/agentmemory · 42 tokens

forget

Delete selected durable memories from agentmemory after showing them and getting explicit confirmation. Use when the user says "forget this", "delete memory", "remove that note", or wants to scrub specific data for privacy.

rohitg00/agentmemory · 44 tokens

handoff

Resume the most recent agent session for the current working directory, leading with any unanswered question. Use when the user says "where were we", "resume", "handoff", "pick up where I left off", or starts a session with no fresh context.

rohitg00/agentmemory · 55 tokens