examples-imports

examples-imports is a skill for Claude Code, Codex from modiqo/skillspec. It costs 44 tokens per session (2,694 once invoked), scanned A, a copy of generic-skill-creator, Apache-2.0.

An example skill showing how instructions can be loaded permanently or imported only when needed. It also demonstrates narrowing instructions to a section and handling nested imports.

In plain words
What is it for?
Use it as a reference when designing skills with modular instructions, SkillSpec routes, imported procedures, supporting resources, and recorded execution evidence.
Why use it?
It helps skill authors control which instructions are loaded for a task and preserve execution traces and dependency checks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: $skill-name invocation.

Good fit Use it as a reference when designing skills with modular instructions, SkillSpec routes, imported procedures, supporting resources, and recorded execution evidence.

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

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 examples-imports

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/modiqo/skillspec/imports"><img src="https://agentmods.dev/badge/skills/modiqo/skillspec/imports.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,694 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 84% 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.00044 $0.02694
Opus 5.5 $0.00018 $0.01078
Sonnet 5.5 $0.00009 $0.00539
Haiku 4.5 $0.00004 $0.00269

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

Security

Grade A, and why

examples-imports 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 3mo 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

84% identical to generic-skill-creator — 23 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.

examples/imports/SKILL.md · 119 lines

How it starts

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

imports example

Demonstrates always-loaded policy, on-demand procedure imports, section narrowing, and nested import requirements.

This skill is a thin loader for the colocated skill.spec.yml. The spec is the source of truth for routes, rules, dependencies, imports, resources, recipes, tests, and trace requirements. Do not treat the spec as background prose; treat it as the execution contract for this task.

Runtime Contract

  1. Load ./skill.spec.yml from this skill folder before taking task actions.

  2. When the skillspec CLI is available and the spec shape is unfamiliar, run skillspec sensemake ./skill.spec.yml --view index to learn the section roles, counts, query handles, and navigation grammar without dumping the full YAML.

  3. Then create the ordered phase plan and current-route action checklist:

    skillspec plan ./skill.spec.yml --input='<user task>' --trace-dir "${PWD}/.skillspec/traces"
    skillspec act ./skill.spec.yml --input='<user task>' --run <run_dir> --phase <phase-id>
    
  4. Strip skill invocation prefixes such as /my-skill, $my-skill, or /durable-executor-spec before passing --input.

  5. Preserve the emitted trace run_dir.

  6. Read the full phase plan and action checklist before using tools. Treat them as the active execution SOP, not as advice. The PHASE TOOL BOUNDARY - HARD section is the permission boundary for the next action.

  7. For each execution phase, run skillspec act ./skill.spec.yml --input='<user task>' --run <run_dir> --phase <phase-id> before acting, record phase progress in <run_dir>/execution.jsonl, then run skillspec progress show ./skill.spec.yml --run <run_dir> to see completed, current, blocked, and remaining phases.

  8. Pull active details with skillspec query ./skill.spec.yml <handle> --view summary and relationship edges with skillspec refs ./skill.spec.yml <handle> --view summary. Prefer precise handles such as rule:<id>, rule:<id>.forbid, command:<id>.requires, and state:<id>.next over reading the whole spec.

  9. Before every substrate/tool call, apply the phase tool boundary and checklist allow/deny questions. Any unlisted tool, data source, execution substrate, provider, adapter, CLI, browser mode, API, or skill requires explicit user permission before use. The selected route and matched rules override lower-level skill defaults and generic tool preferences.

  10. When the CLI is available after a trace exists, run skillspec trace align ./skill.spec.yml --decision-trace <run_dir> and, when structured action evidence exists, add --execution-trace <run_dir>/execution.jsonl. The command writes <run_dir>/alignment.json; report the alignment status, meaning, model layers, evidence gaps, user-facing proof rows, summary, and trace path.

  11. If skillspec plan, skillspec act, or skillspec progress is unavailable, fall back to skillspec decide, then manually construct the same ordered phase checklist and progress notes before using tools. If the CLI is unavailable, read skill.spec.yml directly and apply the same contract manually. Do not expand this loader into a second source of truth.

Read the full file on GitHub · 119 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 119 lines · 44 tokens per session scan A b74d69987a6b

Subscribe to this mod's changes

examples-imports is a skill published in the GitHub repository modiqo/skillspec (641 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 44 tokens to every session and 2,694 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 84% identical to generic-skill-creator, differing in 23 lines, and is treated as a copy.

Related

examples-imports compared with skills from other repositories

examples-imports next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
examples-importsmodiqo/skillspecSkill6413mo agoApache-2.0A44Claude Code, Codex
[object Object]future-agi/future-agiSkill2.3ktodayApache-2.0A8Claude Code, Codex
[object Object]future-agi/future-agiSkill2.3ktodayApache-2.0A8Claude Code, Codex
[object Object]future-agi/future-agiSkill2.3ktodayApache-2.0A8Claude Code, Codex
[object Object]future-agi/future-agiSkill2.3ktodayApache-2.0A8Claude Code, Codex
[object Object]future-agi/future-agiSkill2.3ktodayApache-2.0A8Claude Code, Codex
[object Object]future-agi/future-agiSkill2.3ktodayApache-2.0A8Claude Code, Codex