editing-cordis-compositions

editing-cordis-compositions is a skill for Claude Code, Codex from Kihara777/NixKits. It costs 69 tokens per session (2,940 once invoked), scanned A, a copy of editing-cordis-compositions, MIT.

Instructions for creating, changing, and checking Cordis compositions, configuration files that decide which capabilities an agent receives.

In plain words
What is it for?
Editing a locally authored agent preset, adding or removing plugin rows, deciding whether a capability belongs to the host or one session, and checking whether a preset was mounted.
Why use it?
They help make changes in the correct configuration layer and protect the deployment’s built-in presets from being overwritten.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Good fit Editing a locally authored agent preset, adding or removing plugin rows, deciding whether a capability belongs to the host or one session, and checking whether a preset was mounted.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kihara777/nixkits/editing-cordis-compositions
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 Kihara777/NixKits --skill editing-cordis-compositions
Clone the repo
git clone --depth 1 https://github.com/Kihara777/NixKits

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 editing-cordis-compositions

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kihara777/nixkits/editing-cordis-compositions"><img src="https://agentmods.dev/badge/skills/kihara777/nixkits/editing-cordis-compositions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,940 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 92% copy Near-identical to another mod 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.00069 $0.02940
Opus 5 $0.00034 $0.01470
Sonnet 5 $0.00014 $0.00588
Haiku 4.5 $0.00007 $0.00294

Measured 12d ago against content hash 3a9632bc8fae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

editing-cordis-compositions 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 12d 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.

Origin

This is a copy

92% identical to editing-cordis-compositions — 17 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

packages/dsh-nixos-shell/presets/maintenance-mode/skills/editing-cordis-compositions/SKILL.md · 155 lines

How it starts

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

Editing Cordis compositions

Every capability in this harness is a plugin row in a cordis.yml. There is no separate configuration language: changing what an agent can do means changing which rows are composed for it.

Off-limits

Never edit, delete, or overwrite a preset that ships with the deployment — the agent-presets directory beside the deployment's own config, which supplies standard, code, minimal, and cordis. Never escalate the sandbox to reach it, even when a change there looks quicker. An upgrade overwrites that install, and corrupting cordis disables preset authoring itself. Reading a shipped composition is the intended way to start; writing to one is not, and neither is editing the host composition to work around a preset limitation.

To change what a shipped preset does, copy it and edit the copy. Locally authored presets under the user root are yours to create, edit, and delete.

Decide the plane first

Two planes, and the choice is not about how "agent-related" something feels — it is about whether the thing must be shared.

Host composition. The registries themselves (tools, systemPrompt, agents, agent-loop, sessions), anything crossing sessions (persistence, session query, storage, settings, credentials, telemetry), the sandbox and approval stack, the model route, and the subagent registry with its spawn/fork backends. One instance for the process.

Agent preset. What one session contributes to those registries: its tool plugins, its persona and prompt sections, its compaction policy. One instance per session, mounted under that session's scope and unwound with it.

A service with a consumer outside the agent plane cannot move into a preset. subagents is the worked example: the registry answers cross-session queries for the host api-proxy, so a per-session copy both starves that host row — it waits forever for a service nothing provides — and collides on the second session, since a provider name registers once. The preset contributes the delegation tools; the registry and its backends stay host-side.

Read the full file on GitHub · 155 lines

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. 12d ago First seen · 155 lines · 69 tokens per session scan A 3a9632bc8fae

Subscribe to this mod's changes

editing-cordis-compositions is a skill published in the GitHub repository Kihara777/NixKits (25 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 2,940 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to editing-cordis-compositions, differing in 17 lines, and is treated as a copy.

Related

Other skills, from other repositories

why

Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics…

alyraffauf/hoenn · 89 tokens

technical-writing

Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for /technical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.

alyraffauf/hoenn · 52 tokens

teach

Explain a body of work plainly so a person actually understands it. Runs the how and why skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'.

alyraffauf/hoenn · 60 tokens

unslop

Cut AI tells from any writing. Must always apply.

alyraffauf/hoenn · 14 tokens

how

Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which package owns this", "is this the right layer"). Explains subsystem architecture, runtime flow, onboarding mental models. Can critique architecture. Use why for…

alyraffauf/hoenn · 64 tokens

quality-code

Standards for writing or modifying handwritten source code. Use when implementing code changes or reviewing handwritten code. Do not use for browsing, explanation, diagnosis without implementation, generated code, or vendored code.

alyraffauf/hoenn · 43 tokens