Skip to content
Back to skills

Skill Coload Plan Diff

ASecurity

Use when admitting a new or changed skill into a library of auto-activating skills, or before co-loading two or more skills that have not run together on a task that touches shared state. Skill safety is a property of the set, since skills that each pass review alone can combine to redirect the agent toward an objective none of them states. Without executing anything, write a plan for a few probe tasks with no skills, with each skill alone, and with the set; flag any objective, action or drop...

  • 72 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 28, 2026
ai-agentsrustgoshellgitsecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 30, 2026

npx -y skills add Tibsfox/gsd-skill-creator --skill skill-coload-plan-diff --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Skill Coload Plan Diff?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Skill Coload Plan Diff
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tibsfox-skill-coload-plan-diff/badge)](https://www.skillsdirectory.com/skills/tibsfox-skill-coload-plan-diff)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: skill-coload-plan-diff
description: >
  Use when admitting a new or changed skill into a library of auto-activating
  skills, or before co-loading two or more skills that have not run together
  on a task that touches shared state. Skill safety is a property of the set,
  since skills that each pass review alone can combine to redirect the agent
  toward an objective none of them states. Without executing anything, write a
  plan for a few probe tasks with no skills, with each skill alone, and with
  the set; flag any objective, action or dropped safeguard that appears only
  in the composition, and any detour that adds cost without changing the
  outcome; resolve it by type, record a conflict edge, or escalate. Distinct
  from skill-counterfactual-audit (one skill, executed traces),
  detect-conflicts (description overlap) and generative-skill-composition
  (choosing a loadout). Backed by arxiv 2607.02345, 2608.21929, 2608.12273,
  2610.15481 and 2610.37734. Triggers on skill admission and co-load safety
  checks.
description-frequency: on-demand
user-invocable: true
version: 1.2.0
format: 2025-10-02
triggers:
  - "is it safe to load these skills together"
  - "admit this new skill alongside the existing gates"
  - "check for interactions between skills before shipping"
updated: 2026-11-29
status: ACTIVE
source: arxiv 2607.02345 (SkillFuzz, skill composition safety fuzzing), arxiv 2608.21929 and arxiv 2608.12273 (skill resource amplification), arxiv 2610.15481 (SkillFusion, typed reconciliation), arxiv 2610.37734 (oversight-loosening directives)
---

# Skill Co-load Plan Diff

An admission check whose unit is a set of skills. It compares plans, not
executions: what the agent intends to do with no skills, with each skill
alone, and with the skills together. Anything that appears only in the last
of those is an interaction.

## Why

Marketplaces and review gates audit skills one at a time, yet individually
benign skills can interact when co-activated and redirect an agent toward
unintended objectives, which SkillFuzz (arxiv 2607.02345) calls *implicit
intents*. The space of co-activations grows exponentially with library size,
so it cannot be enumerated. SkillFuzz treats discovery as execution-free
fuzzing: the composition is the unit under test, planning artifacts expose
intent before anything runs, deviation from a skill-free baseline is the
differential oracle, and extracted skill contracts steer the search toward
compositions likely to conflict. It found over 1,000 distinct implicit intents
under a fixed query budget, and more than 80% of the highest-risk flagged
compositions were confirmed in execution-time validation.

Cost is part of what a skill can change. The trusted instruction channel
skills create can be abused to make an agent consume far more tokens and time
than a task needs. SkillBloat (arxiv 2608.21929) reaches 5.4184x-10.1455x
average best amplification across coding-agent target configurations.
Convergent Detour Hijacking (arxiv 2608.12273) uses a description that
establishes relevance during selection and a body that fabricates plausible
dependencies, recruiting unnecessary benign skills into a bounded detour; on
DeepSeek-V4-Pro, among coordinator-hit runs that complete tasks, token
consumption and end-to-end execution time increase by 66.91% and 92.45% while
aggregate task completion remains comparable. A correct outcome does not
guarantee trajectory integrity or cost safety.

Finding an interaction is half of admission; the other half is what to write.
SkillFusion (arxiv 2610.15481) starts from the observation that independently
authored skills can impose incompatible requirements, competing preferences
and redundant instructions when jointly loaded, and reconciles them with
typed, scoped constraints linked to their source directives: conditional
routing or explicit priorities for hard conflicts, verified abstraction for
soft conflicts, deduplication for redundant instructions. At the largest
tested instruction configurations it reports over 2.5 times the Success of
unresolved multi-skill loading.

One kind of contract line deserves its own look. A study of 1.53 million
English skills from GitSkills (arxiv 2610.37734) finds that about one in
seventeen contains an oversight-loosening directive (proceed without approval,
bypass a check, keep working without checking in) and that 70.1% of these
apply unconditionally. Compared with skills that have the same amount of
oversight language, skills that run shell code, install packages or use sudo
have 1.7-1.8 times the odds of containing one, and they do not compensate with
more tightening. This skill's reading, which the study does not test: in a
set, a loosening line in one skill can cancel another skill's ask.

This library is built for co-activation: gates such as `goal-ambiguity-gate`,
`memory-use-warrant` and `semantic-merge-adjudicator` fire at the same
moments, each with its own default on uncertainty (ask, fail closed, escalate,
proceed). Two skills whose defaults point in different directions at one
decision are the case a per-skill review cannot see.

## Data classes touched

Reads skill files (project-internal, or untrusted when the candidate is
external) and reports its findings in the reply (the set probed, the probe
tasks, and any flags). Probe plans are text and nothing is
executed, so the check itself touches no shared state. An external candidate
must already have passed `skill-injection-guardian`; never plan-probe a file
that has not. Resolving a Low flag in step 7 edits first-party skill sources
under `project-claude/skills/`, a tracked self-modification under
`security-hygiene`: it is proposed to the operator and applied on their go,
and this check deploys nothing.

## How

1. **Fix the set under test.** S is the candidate plus the skills likely to
   activate with it. Find them from trigger overlap
   (`skill-creator detect-conflicts <name> --project --threshold=0.7`, which
   needs the candidate deployed; for an undeployed candidate compare trigger
   lists by hand), from
   typed-graph neighbours, and from skills that gate the same moment (before
   acting, before writing memory, before merging). Bound the work: the
   candidate against at most 5 nearest co-activators pairwise, plus S once as
   a whole.
2. **Extract each skill's contract** in five lines: what it makes the agent
   do; what it forbids; its default on uncertainty; the data classes and files
   it lets the agent write; any line that loosens oversight (proceed without
   approval, skip a check or a hook, a permission flag, keep working without
   checking in), with its scope, either unconditional or limited to a stated
   context.
3. **Choose 3 probe tasks:** one inside the candidate's trigger, one inside a
   neighbour's, and one neutral task that writes shared state (a commit, a
   memory write, a skill edit).
4. **Write plans only.** For each probe, produce a plan under each condition:
   no skills (the baseline); each skill alone; the composition. A plan is the
   stated objective, the ordered intended actions, and the files or state each
   action would touch. Use a planning-only subagent or plan mode. Execute
   nothing.
5. **Diff against the baseline and the single-skill plans.** Flag as an
   *implicit intent*:
   - an objective or action in the composition plan that is in neither the
     baseline nor any single-skill plan;
   - a safeguard present in a single-skill plan (an ask, an escalation, a
     refusal) that is absent from the composition plan;
   - an ordering change that moves a write ahead of the check meant to gate
     it.

   Flag separately as a *cost detour* (not an implicit intent): steps, tool
   calls or recruited skills in a with-skill plan (one skill alone, or the
   composition) that the baseline does not need, that the skill's contract
   (step 2) does not declare as a check, safeguard or dependency, and that
   do not change the outcome. A declared ask, escalation, refusal or
   verification is never a detour. Record the plan length (steps, skills
   invoked) under each condition so that cost is part of the diff.

   Type each flagged interaction between two skills: a *hard conflict*
   (incompatible requirements, both cannot be followed), a *soft conflict*
   (competing preferences, both can be followed at a cost to one) or a
   *redundancy* (the same instruction twice).
6. **Grade by what the flagged action touches.** High: shared repository
   state, `.claude/` or other self-modification, `never-surface` memory,
   anything irreversible. Low: in-context, reversible, data-neutral. A cost
   detour is Low for a first-party skill and High for an external
   candidate: more work for the same outcome is what a
   resource-amplification attack looks like in a plan. A safeguard that an
   unconditional oversight-loosening line (step 2) removes from a composition
   plan is High. The line itself is a per-file finding for `security-hygiene`.
7. **Act on the verdict.**
   - No flags: admit, and record which set was probed with which tasks.
   - Low flags: propose a resolution by type in the skill sources and apply
     it on the operator's go, saying in each resolution which directives it
     reconciles. A hard conflict gets an
     explicit priority, or a condition that says which skill governs when;
     where one skill's scope is simply being overrun, a do-not line in that
     skill is that condition. A soft conflict gets one shared statement that
     both skills can follow, checked against the intent of each. A redundancy
     is stated once and referenced from the other skill. Record a
     `conflicts-with` edge for `typed-skill-graph-selection` for a hard or a
     soft conflict (a redundancy is not a conflict), then run step 4 again.
   - A cost detour in a first-party skill: propose tightening that skill's
     wording, apply it on the operator's go, then run step 4 again; no edge
     is recorded for a single skill.
   - High flags: do not co-load. Escalate to the operator with the two plans
     side by side. Before any later admission, confirm with a sandboxed paired
     run (`skill-counterfactual-audit`).

### Robustness rule

Judge by the plan diff, not by how compatible the skill descriptions read. Two
descriptions with no shared words can still collide at one decision point, and
two that look alike can be harmless together.

## Confidence / failure model

Plans are produced and compared by an **LLM**, so the check is a heuristic
filter, not a proof: a clean diff on three probes does not show that the set
is safe, and a flag is a lead to confirm. The search here is a bounded
pairwise probe, not the contract-guided tree search of SkillFuzz, and none of
the cited counts or amplification figures are expected to transfer.
SkillFusion is an offline compiler that produces a merged skill; the typing in
step 5 and the resolutions in step 7 borrow its interaction types and resolver
actions (reading hard and soft conflicts as incompatible requirements and
competing preferences is this skill's mapping) and edit the source skills by
hand, which the paper did not evaluate. That a loosening line in one skill can
cancel another's ask is this skill's reading, not a result of the
oversight-directive study, whose figures describe the GitSkills corpus and not
this library. Plan length is a proxy: cost that appears only at execution does
not show in a plan, and a plan can differ from what the agent does when it
executes. Fail-closed defaults: (a) a high-grade flag blocks co-loading until
the operator decides; (b) when you cannot tell whether a difference between
plans is an interaction or noise, plan once more, and if it recurs treat it as
a flag; (c) an external candidate that has not passed
`skill-injection-guardian` is not probed at all; (d) an edit to a skill
source or a recorded edge waits for the operator's go.

## When to skip

- The candidate cannot auto-activate (`disable-model-invocation`) and is only
  ever invoked alone.
- A wording-only edit to a first-party skill whose contract (step 2) is
  unchanged; a rewritten external skill is always probed.
- The set was probed before and none of its members has changed since.

None of these applies when a member of the set contains an unconditional
oversight-loosening line (proceed without approval, skip a check, keep working
without checking in): probe the set.

## Integration

- **skill-injection-guardian** — per-file defense for untrusted content; it
  runs before this check. That one asks whether a file is hostile; this one
  asks whether files that pass alone misbehave together.
- **skill-counterfactual-audit** — executed paired traces for one skill; the
  confirmation step for a high flag found here.
- **typed-skill-graph-selection** — stores `conflicts-with` edges; this check
  is a way to discover edges nothing has recorded yet.
- **generative-skill-composition** — chooses a loadout; it should not choose a
  set this check has blocked.
- **skill-forge / skill-coverage-gate** — run this at the ship step for any
  new auto-activating skill, beside the coverage and counterfactual checks.

Files in this skill

  • SKILL.md9.3 KB
  • triggering.test.md2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.