editing-cordis-compositions

editing-cordis-compositions is a skill for Claude Code, Codex from singula-ai/alego. It costs 41 tokens per session (1,286 once invoked), scanned A, a copy of editing-cordis-compositions, MIT.

Instructions for editing Cordis compositions, which are configuration files that decide which tools and agent capabilities are available. It covers changing locally authored agent presets and plugin rows.

In plain words
What is it for?
Use it to add or remove capabilities from a local preset, decide whether a change belongs to the shared host or one session, and diagnose mounting problems.
Why use it?
It helps prevent changes from being made in the wrong configuration layer or to shipped presets that upgrades could overwrite. It also explains how to check whether a preset actually loads.

Skill for Claude CodeCodex

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

Good fit Use it to add or remove capabilities from a local preset, decide whether a change belongs to the shared host or one session, and diagnose mounting problems.

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

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/singula-ai/alego/editing-cordis-compositions/github.svg)](https://agentmods.dev/skills/singula-ai/alego/editing-cordis-compositions)
Your own site
<a href="https://agentmods.dev/skills/singula-ai/alego/editing-cordis-compositions"><img src="https://agentmods.dev/badge/skills/singula-ai/alego/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/singula-ai/alego/editing-cordis-compositions"><img src="https://agentmods.dev/badge/skills/singula-ai/alego/editing-cordis-compositions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,286 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 95% 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.00041 $0.01286
Opus 5.5 $0.00016 $0.00514
Sonnet 5.5 $0.00008 $0.00257
Haiku 4.5 $0.00004 $0.00129

Measured 2mo ago against content hash a0f77532c32b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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

95% identical to editing-cordis-compositions — 183 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/preset/agent-preset/skills/editing-cordis-compositions/SKILL.md · 85 lines

How it starts

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

Editing Cordis compositions

Agent presets are ordinary @singula-ai/alego-agent-preset declarations carried by bundle patches. Nothing edits a declaration in place: a preset is created or changed by installing a bundle whose patch declares or overrides it. This file states the declaration format; when it leaves a question open, read the @singula-ai/alego-agent-preset README and lib/types declarations under the packageDir that cordis_inspect_query Config.listConfigs returns when queried with a preset-<id> row's entry id, or packages/preset/agent-preset/src in a source checkout.

Where declarations live

The shipped Web presets are presets/<id>.patch.yml files of the @singula-ai/alego-web-app bundle, ids standard, ptc, minimal and cordis. Installed, the bundle resolves from the alego installation, not the profile; querying Config.listConfigs with the entry id of any preset-<id> row it declares returns that packageDir. In a source checkout of ALEGO it is packages/bundle/web-app/. Read one file with the file-read tool when you need a template; minimal.patch.yml is the shortest. In Desktop the bundle sits inside app.asar, which shell commands cannot open. Load cordis-composition-reference for the patch dialect and the list of plugin packages a preset can mount.

A declaration row has these config fields: id (required, lowercase letters, digits and hyphens), plugins (required Cordis entry list), and optional name, description and order (roster position). The Loader row id is preset-<id> by convention.

Create a preset

Write a bundle directory in the workspace with exactly two files, then install it.

review-preset/package.json:

{
  "name": "@local/alego-review-preset",
  "version": "1.0.0",
  "private": true,
  "type": "module",
  "alego": { "bundle": { "patch": "./cordis.patch.yml" } }
}

review-preset/cordis.patch.yml:

- insert:
    - id: preset-review
      name: '@singula-ai/alego-agent-preset'
      config:
        id: review
        name: Review
        description: Reviews changes with the shell only.
        order: 10
        plugins:
          - id: persona
            name: '@singula-ai/alego-persona'
            config:
              prefix: You review software changes.
          - id: tool-bash
            name: '@singula-ai/alego-tool-bash'

Read the full file on GitHub · 85 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. 2mo ago Changed · -81 lines · -28 tokens per session a0f77532c32b
  2. 2mo ago Changed 91c511d38613
  3. 3mo ago First seen · 166 lines · 69 tokens per session scan A 280ab1649ec7

Subscribe to this mod's changes

editing-cordis-compositions is a skill published in the GitHub repository singula-ai/alego (110 stars, last pushed 2d ago), licensed MIT. It adds 41 tokens to every session and 1,286 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to editing-cordis-compositions, differing in 183 lines, and is treated as a copy.

Related

editing-cordis-compositions compared with skills from other repositories

editing-cordis-compositions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
editing-cordis-compositionssingula-ai/alegoSkill1102d agoMITA41Claude Code, Codex
ctxagentis-tools/ctxSkill136d agoApache-2.0A60Claude Code
ctxagentis-tools/ctxSkill136d agoApache-2.0A60Claude Code, Codex
managing-mcp-serversJetBrains/thinkrailSkill8.5ktodayApache-2.0A62Claude Code, Codex
todosJetBrains/thinkrailSkill8.5ktodayApache-2.0A58Claude Code, Codex
writing-workflow-skillsJetBrains/thinkrailSkill8.5ktodayApache-2.0A60Claude Code, Codex
brainstorminghuiliyi37/Tianshu-harnessSkill1.4k4d agoApache-2.0A37Claude Code, Codex