skeleton

skeleton is a skill for Claude Code, Codex from 1amageek/swift-skeleton. It costs 115 tokens per session (1,755 once invoked), scanned A, original, MIT.

A structural map of a codebase produced with the `skltn` command-line tool. It shows declarations, signatures, inheritance, source locations, and signals that help estimate implementation risk without loading full function bodies.

In plain words
What is it for?
Use it to explore Swift package targets, modules, files, symbols, and dependencies, then focus inspection on the parts relevant to a task.
Why use it?
It helps developers locate relevant code and understand project structure before reading large amounts of implementation detail.

Skill for Claude CodeCodex

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

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.

agentmods
npx agentmods add skills/1amageek/swift-skeleton/skeleton
Any agent
npx skills add 1amageek/swift-skeleton --skill skeleton
Clone the repo
git clone --depth 1 https://github.com/1amageek/swift-skeleton

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 skeleton

README.md
[![agentmods](https://agentmods.dev/badge/skills/1amageek/swift-skeleton/skeleton.svg)](https://agentmods.dev/skills/1amageek/swift-skeleton/skeleton)
Your own site
<a href="https://agentmods.dev/skills/1amageek/swift-skeleton/skeleton"><img src="https://agentmods.dev/badge/skills/1amageek/swift-skeleton/skeleton.svg" alt="Measured on agentmods" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,755 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00115 $0.01755
Opus 5 $0.00057 $0.00877
Sonnet 5 $0.00023 $0.00351
Haiku 4.5 $0.00012 $0.00176

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

Security

Grade A, and why

skeleton 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 6d 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.

SKILLS/skeleton/SKILL.md · 137 lines

How it starts

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

Skeleton

Use skltn to locate the source that requires inspection without loading implementation bodies. Treat its output as a structural index, never as implementation truth.

Workflow

1. Resolve the project root

Use the path supplied by the user. If no path is supplied, use the current working directory.

2. Build a structural map

skltn get [project-root] [options]

Choose the narrowest view that preserves the context required by the task:

  • When a SwiftPM target or module is known, use --target by default. This keeps the focus target complete and adds only the source-visible surface of direct imported local dependencies.
  • For a large target, begin with --headers-only, then rerun without it only when member signatures are required.
  • When the user requests an exact file or directory boundary, use that path without target expansion.
  • When no target is known, begin with a repository-wide --headers-only map, identify the relevant target, then switch to target mode.
skltn get <package-root> --target <target-name> --headers-only
skltn get <package-root> --target <target-name>

Use --path <relative-file> for one indexed file, --language <name> to restrict parsers, and --kind <kind> to restrict supported declaration kinds.

Keep path and target intent distinct:

skltn get Sources/Feature
skltn get Sources --target Feature

The first command strictly scans Sources/Feature. The second resolves the SwiftPM target, renders it in full, and adds only source-visible declarations from direct local dependencies that the target imports. Use --access public only when the task needs the externally consumable API surface rather than the target's full implementation-facing structure.

The get command may be omitted. skeleton, get_skeleton, and build are compatibility aliases.

3. Verify the selected source

Use the skeleton map to choose files and ranges, then read the original code before making an implementation claim or change. For each relevant path:

Read the full file on GitHub · 137 lines

Files

What ships with it

2 files 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. 6d ago First seen · 137 lines · 115 tokens per session scan A 9e59ac1f4392

Subscribe to this mod's changes

skeleton is a skill published in the GitHub repository 1amageek/swift-skeleton (15 stars, last pushed 1mo ago), licensed MIT. It adds 115 tokens to every session and 1,755 once invoked, about $0.0006 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-30.

Related

Other skills, from other repositories

remarc

Manage Remarc session comments and contextual feedback. Use when the user mentions Remarc sessions, comments, handoff, triage, review, addressing, resolving, status updates, or summaries.

metedata/Remarc · 41 tokens

sem

Use sem to get entity-level (function/class/method) semantic diffs, impact analysis, blame, and dependency context from any Git repo. Trigger this skill whenever the user asks what changed in a commit or PR, wants to understand the blast radius of a change, needs to know who last modified a function, wants to trace…

Ataraxy-Labs/sem · 112 tokens

code-simplifier

Post-session code review and cleanup against a working tree of changes. Analyzes git diff to simplify, consolidate, and align changed code with the existing codebase — modernize syntax, remove unnecessary complexity, consolidate duplicated logic, catch efficiency issues. Use after a substantive working session, or…

cyanheads/obsidian-mcp-server · 124 tokens

code-review

Reviews a supplied code path or diff for correctness, security, maintainability, and style without executing or modifying it.

sandbaseai/sandbase-harness · 25 tokens

code-review

Review ServiceNow server-side scripts for ES5 violations, ACL/injection/XSS issues, N+1 queries, missing setLimit/error handling, hard-coded sysids, and business-rule recursion risks.

serac-labs/serac · 43 tokens

mcp-review

Review MCP server specifications and updates for compliance, security, and quality. Use when evaluating server.json files, PRs adding/updating servers, or assessing MCP server changes. NOT for creating new entries (use add-mcp-server instead).

stacklok/toolhive-catalog · 51 tokens