proposal-agentskills-chaining

proposal-agentskills-chaining is a skill for Claude Code, Codex from dhaupin/vant. It costs 48 tokens per session (2,290 once invoked), scanned A, original, MIT.

A proposal to add explicit ordering to Agent Skills, so one skill can specify which other skills should load and in what order. It also describes options for parallel work, continuing after errors, and time limits.

In plain words
What is it for?
Use it when designing an Agent Skills specification for ordered test, security, or deployment workflows.
Why use it?
It addresses unpredictable skill execution, which can make testing, security checks, and deployments run in the wrong sequence or become hard to debug.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - ❌ `test/chain/SKILL.md` → `../audit/SKILL.md` (escape to parent).

Good fit Use it when designing an Agent Skills specification for ordered test, security, or deployment workflows.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/dhaupin/vant
agentmods
npx agentmods add skills/dhaupin/vant/vant-skill-proposal-agentskills-chaining

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 proposal-agentskills-chaining

README.md
[![agentmods](https://agentmods.dev/badge/skills/dhaupin/vant/vant-skill-proposal-agentskills-chaining/github.svg)](https://agentmods.dev/skills/dhaupin/vant/vant-skill-proposal-agentskills-chaining)
Your own site
<a href="https://agentmods.dev/skills/dhaupin/vant/vant-skill-proposal-agentskills-chaining"><img src="https://agentmods.dev/badge/skills/dhaupin/vant/vant-skill-proposal-agentskills-chaining/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 proposal-agentskills-chaining

Your own site · 80×15
<a href="https://agentmods.dev/skills/dhaupin/vant/vant-skill-proposal-agentskills-chaining"><img src="https://agentmods.dev/badge/skills/dhaupin/vant/vant-skill-proposal-agentskills-chaining.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,290 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 high

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 →

  • high Memory Poisoning · line 60
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
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.00048 $0.02290
Opus 5 $0.00024 $0.01145
Sonnet 5 $0.00010 $0.00458
Haiku 4.5 $0.00005 $0.00229

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

Security

Grade A, and why

proposal-agentskills-chaining 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 9d 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.

models/public/skills/vant-skill-proposal-agentskills-chaining/SKILL.md · 310 lines

How it starts

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

Proposal: Skill Chaining for Agent Skills

Problem

Agent Skills spec relies on "agent decides which skills to load" - no explicit ordering.

Current behavior:

  • Skills are independent
  • Agent decides order (implicit, unpredictable)
  • No guarantee skills run in any particular sequence
  • Works sometimes, fails mysteriously

Why this matters:

  • Test chains need unit → integration → e2e order
  • Security: scan → review → audit order
  • Deploy: test → build → deploy order
  • Current spec: "agent decides" is unpredictable
  • Without explicit order: failures are mysterious
  • Can't debug: don't know which skill ran when

Solution

Add chain field to skill metadata:

---
name: chain-test
description: Complete test chain...
metadata:
  chain:
    - test-smoke
    - test-unit
    - test-contract
    - test-e2e
---

### Fields

| Field | Type | Required | Default | Description |
|-------|------|----------|---------|-------------|
| `chain` | array | Yes | - | Ordered list of skill names to load |
| `async` | boolean | No | `false` | Sequential (false) or parallel (true) |
| `continue_on_error` | boolean | No | `true` | Continue if skill fails |
| `timeout` | integer | No | 0 | Max time per skill (0=unlimited) |
| `max_depth` | integer | No | 10 | Max nesting depth for nested chains |
| `parallel_limit` | integer | No | 5 | Max parallel skills when async=true |
| `validate_on_load` | boolean | No | `true` | Verify referenced skills exist |
| `cleanup_after` | boolean | No | `false` | Reset state after chain completes |

### Execution Fields

| Field | Type | Required | Default | Description |
|-------|------|----------|---------|-------------|
| `early_exit_on` | string | No | `none` | Exit on: `none` `failure` `success` `critical` |
| `continue_on_success` | boolean | No | `false` | Continue only if previous skill passed |
| `pass_state` | boolean | No | `true` | Pass outputs to next skill in chain |
| `retry_count` | integer | No | 1 | Run entire chain N times |
| `retry_until` | string | No | `none` | Repeat until: `none` `stable` `success` |
| `race_mode` | boolean | No | `false` | First skill to complete wins (parallel only) |

### Subfolder Restriction

All skills in `chain` must be same parent or lower (no escape up):
- ✅ `test/chain/SKILL.md` → `test/unit/SKILL.md` (same parent)
- ✅ `test/chain/SKILL.md` → `test/e2e/smoke/SKILL.md` (lower/deeper)
- ❌ `test/chain/SKILL.md` → `../audit/SKILL.md` (escape to parent)
- ❌ `/absolute/path` (not allowed)

This enforces hierarchy: chain at level N can only call skills at level N or deeper.

### Path Resolution

When chain references a skill by name:
1. Look in same subfolder first
2. Then look in subfolders at same level or deeper
3. Fail if skill not found (if validate_on_load: true)

### Output Format

Each skill in chain should return standard output:

```yaml
output:
  status: success | failure | critical
  result: "...description..."
  errors: []
  metrics: {}
  • status: outcome for chain decision
  • result: human-readable summary
  • errors: array of issues found
  • metrics: timing, counts, etc.

State Passing

When pass_state: true, chain passes to next skill:

chain_state:
  previous_outputs: []
  accumulated_errors: []
  total_metrics: {}
  • Previous skills' outputs available to next skill
  • Errors accumulate across chain
  • Metrics merge (sum/count)

Chain Calls Chain

Chains can call other chains (with max_depth limit):

  • chain: [chain-test, chain-security]
  • With depth limit to prevent infinite recursion

Async Flag Explanation

async Behavior Use Case
false (default) Sequential: A → B → C Dependent skills, ordered workflows
true Parallel: Load all at once Independent skills, maximum speed

Default is sequential (false) because:

  1. Most workflows need order (test before deploy)
  2. Less surprising behavior
  3. Explicit beats implicit
  4. Can opt-in to parallel if needed

Read the full file on GitHub · 310 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. 9d ago First seen · 310 lines · 48 tokens per session scan A 44584bf351ab

Subscribe to this mod's changes

proposal-agentskills-chaining is a skill published in the GitHub repository dhaupin/vant (9 stars, last pushed 10d ago), licensed MIT. It adds 48 tokens to every session and 2,290 once invoked, about $0.0002 per session on Opus 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-31.

Related

Other skills, from other repositories

commit

Atomic git commit with conventional message. Use when the user says "commit", "save my changes", "commit this", or wants to create a git commit. Stages specific files, writes a conventional commit message with body explaining non-obvious decisions. Never uses git add -A.

congchuanling-dot/Cohort · 59 tokens

python-run

Run and debug Python scripts in the project. Use when the user says "run python", "execute this script", "debug this py file", or wants to run/modify a .py file. Handles dependency checks, linting, execution, and error analysis.

congchuanling-dot/Cohort · 56 tokens

skill-packager

Authors Agent Skills v1.0 packages (SKILL.md plus references/scripts), runs packageskill to produce a standards-compliant zip, and uses installskill to add skills from HTTPS, registry, workspace, or an uploaded archive. Use when the user wants to turn documentation, workflows, or code into a portable skill, export a…

vixues/LeAgent · 87 tokens

document-processor

Guidance for processing documents, extracting content, and transforming structured information. Use when the user asks to process, parse, extract, or transform document content such as PDFs, Word files, or spreadsheets.

vixues/LeAgent · 44 tokens

workflow-helper

Guidance for creating, managing and executing workflow automations that chain multiple tools and agents together. Use when the user asks about building, listing, running or composing workflows and automated task pipelines.

vixues/LeAgent · 41 tokens

attendance-signin-sheet

A spreadsheet generator for printable attendance or meeting sign-in sheets. It turns a list of names into rows with columns such as signatures, dates, departments, or employee IDs.

vixues/LeAgent · 51 tokens