editing-skills

editing-skills is a skill for Claude Code from ZaxbyHub/opencode-swarm. It costs 95 tokens per session (2,215 once invoked), scanned A, original, MIT.

A set of repository rules for adding, changing, moving, or removing coding-agent skills. It explains how matching skill files in different directories must be kept consistent.

In plain words
What is it for?
Use it when editing SKILL.md files or maintaining skills across the repository’s OpenCode, Claude Code, and agent directories.
Why use it?
It helps prevent one copy of a skill from drifting away from another and provides checks for detecting mismatches.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Good fit Use it when editing SKILL.md files or maintaining skills across the repository’s OpenCode, Claude Code, and agent directories.

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

Made for: Claude Code.

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-skills

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zaxbyhub/opencode-swarm/editing-skills"><img src="https://agentmods.dev/badge/skills/zaxbyhub/opencode-swarm/editing-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,215 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: 1 finding, 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 Agent Snooping · line 124
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00095 $0.02215
Opus 5.5 $0.00038 $0.00886
Sonnet 5.5 $0.00019 $0.00443
Haiku 4.5 $0.00010 $0.00221

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

Security

Grade A, and why

editing-skills 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 20d 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.

.claude/skills/editing-skills/SKILL.md · 147 lines

How it starts

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

Editing Skills in opencode-swarm

Skills in this repo exist across parallel trees (.opencode/skills/, .claude/skills/, .agents/skills/) governed by explicit mirror contracts. Editing a SKILL.md without knowing its contract silently desynchronizes the OpenCode and Claude Code surfaces. Classify first, then edit.

Step 1 — Classify the skill

Look the slug up in src/config/skill-mirrors.ts:

  • MIRRORED_ARCHITECT_MODE_SKILLS (brainstorm, specify, clarify-spec, swarm-resume, clarify, discover, consult, pre-phase-briefing, council, deep-dive, deep-research, issue-ingest, plan, critic-gate, design-docs): .opencode and .claude copies must stay byte-identical. Any edit is a dual-tree edit — apply the identical change to both files.
  • ADAPTER (execute, phase-wrap, swarm-pr-review, swarm-pr-feedback, swarm-pr-subscribe, swarm-ci-monitor): .opencode is canonical; .claude and .agents where present are thin shims that must keep the exact relative reference ../../../.opencode/skills/<slug>/SKILL.md (drift-check verifies the string). swarm-implement follows the same operational adapter pattern, but is currently classified as an additional divergent contract because the additional-contract registry does not yet model non-architect adapter shims.
  • DIVERGENT: both trees exist, content intentionally differs — a single-tree edit is fine. codebase-review-swarm is in DIVERGENT_ARCHITECT_MODE_SKILLS; engineering-conventions is a divergent entry in ADDITIONAL_SKILL_MIRROR_CONTRACTS. swarm-implement and writing-tests are classified divergent only because the additional-contract model does not yet have an adapter kind; operationally, .opencode is canonical and .claude delegates to it.
  • OPENCODE-ONLY: loop (OPENCODE_ONLY_ARCHITECT_MODE_SKILLS) and running-tests (an opencode-only ADDITIONAL contract) — do not create .claude mirrors (a .claude/skills/loop would shadow Claude Code's built-in /loop).
  • ADDITIONAL contracts: commit-pr is divergent (#1692). The .claude copy is the repo-INTERNAL publication protocol (CI's pr-standards workflow declares it the source of truth); the .opencode copy is the PORTABLE, project-agnostic version bundled into end-user projects, so the two trees intentionally differ — do not sync them byte-for-byte. The discovery shims in .agents/skills/commit-pr/ and .github/skills/commit-pr/ point at the repo-internal .claude file as canonical.
  • Adapter skills (issue-tracer): .opencode/skills/<slug>/SKILL.md is the canonical protocol; .claude/skills/<slug>/SKILL.md and .agents/skills/<slug>/SKILL.md are thin shims that reference it via the relative path. See src/config/skill-mirrors.ts for the kind: adapter contract.
  • .claude-sourced skills (qa-sweep, research-first, unswarm, tech-debt-ci-review, session-retrospective, rust-crate-ci, editing-skills, …; not swarm, orchestrating-subagents, or durable-session-state, which are .opencode-canonical): the .claude file is the source protocol and there is no .opencode copy and no npm shipment. When the skill also has an adapter shim in .agents/skills/<slug>/ (which reads ".claude/skills/<slug>/SKILL.md is the source protocol"; check ls .agents/skills/), it NEEDS a kind: 'agents-only' entry in src/config/skill-mirrors.ts listing both paths in extraIdenticalPaths. Otherwise drift-check --enforce fails CI with "exists in .agents/skills but has no contract". Single-tree .claude-only skills need no entry. Note that ZCode loads only .zcode/skills and .agents/skills, never .claude/skills, so the .agents shim is what makes such a skill reachable there. Content edits to the .claude file are safe — shims delegate — but renaming, moving, or removing one of these skills must update the shim and the agents-only entry in the same change. Drift-check verifies that the listed files exist, but not that the shim's pointer text still names the right source file.
  • Pre-flight for new skills (blocking): Before authoring any SKILL.md content for a skill that should reach npm users, the slug MUST be registered in all three places: src/config/skill-mirrors.ts (classification), src/config/bundled-skills.ts (BUNDLED_PROJECT_SKILLS), and package.json#files. Creating content first and registering later is a common source of drift-check failures and missing shipments.

Read the full file on GitHub · 147 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. 20d ago Changed · +8 lines f61c2782fc38
  2. 1mo ago Changed · +1 lines ab1a9f208d6f
  3. 2mo ago Changed · +3 lines 65e3bf1475ab
  4. 3mo ago First seen · 135 lines · 95 tokens per session scan A ce4f04b1456c

Subscribe to this mod's changes

editing-skills is a skill published in the GitHub repository ZaxbyHub/opencode-swarm (549 stars, last pushed today), licensed MIT. It adds 95 tokens to every session and 2,215 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

editing-skills compared with skills from other repositories

editing-skills next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
editing-skillsZaxbyHub/opencode-swarmSkill549todayMITA95Claude Code
safeinstall-installMickdownunder/SafeInstallSkill34d agoMITA49Codex
safeinstall-setupMickdownunder/SafeInstallSkill34d agoMITA49Codex
safeinstall-checkMickdownunder/SafeInstallSkill34d agoMITA51Codex
safeinstall-statusMickdownunder/SafeInstallSkill34d agoMITA53Codex
repo-hygieneQwenLM/qwen-codeSkill31ktodayApache-2.0A48Claude Code, Codex
requirements-writermvschwarz/openrigSkill9.0ktodayApache-2.0A28Claude Code, Codex