advanced-example

advanced-example is a skill for Claude Code from srprasanna/mcp-skill-hub. It costs 14 tokens per session (1,471 once invoked), scanned A, original, MIT.

A detailed sample skill showing complete metadata and a larger folder layout with examples, templates, and optional documentation.

In plain words
What is it for?
Use it to learn how to define dependencies, version and authorship details, examples, templates, and other skill metadata.
Why use it?
It serves as a reference when a skill needs more organization than a single instruction file.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Use it to learn how to define dependencies, version and authorship details, examples, templates, and other skill metadata.

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

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 advanced-example

README.md
[![agentmods](https://agentmods.dev/badge/skills/srprasanna/mcp-skill-hub/advanced-example.svg)](https://agentmods.dev/skills/srprasanna/mcp-skill-hub/advanced-example)
Your own site
<a href="https://agentmods.dev/skills/srprasanna/mcp-skill-hub/advanced-example"><img src="https://agentmods.dev/badge/skills/srprasanna/mcp-skill-hub/advanced-example.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,471 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00014 $0.01471
Opus 5 $0.00007 $0.00736
Sonnet 5 $0.00003 $0.00294
Haiku 4.5 $0.00001 $0.00147

Measured 8d ago against content hash 492c50206d29, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

advanced-example scanned grade A with 1 finding 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (examples/example1.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

system: ["git", "curl"]
examples/skills/advanced-example/SKILL.md · 217 lines

How it starts

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

Advanced Example Skill

This skill demonstrates all available metadata fields and shows how to organize a complex skill with multiple subdirectories, examples, and templates.

Complete Folder Structure

advanced-example/
├── SKILL.md              ← This file with full metadata
├── examples/             ← Example files directory
│   ├── example1.py       ← Python example
│   └── example2.txt      ← Text example
├── templates/            ← Template files directory
│   └── template.txt      ← Template file
└── README.md             ← Additional documentation (optional)

All Metadata Fields Explained

Required Fields

  • name: Unique identifier (kebab-case recommended)
  • description: Brief, clear description of what the skill does

Version and Authorship

  • version: Semantic version (MAJOR.MINOR.PATCH)
  • author: Creator's name or team
  • created: Creation date (ISO format: YYYY-MM-DD)
  • updated: Last update date (ISO format)

Dependencies

You can specify dependencies in two formats:

Nested format (recommended for categorized deps):

dependencies:
  python: ["package>=1.0.0", "another-package"]
  system: ["git", "curl"]

Flat format (simpler):

dependencies: ["package1", "package2", "tool1"]

Categorization and Discovery

  • category: Main category for grouping (e.g., "data-analysis", "document-creation")
  • tags: Array of tags for search and filtering
  • complexity: Difficulty level ("beginner", "intermediate", or "advanced")

Usage Guidance

  • when_to_use: Array of scenarios when this skill should be used
  • related_skills: Array of related skill names for cross-referencing

Examples

  • has_examples: Boolean flag indicating if examples are included
  • example_files: Array of paths to example files (relative to skill folder)

Dependency Management

The server supports tracking dependencies so users know what's required:

Python Dependencies

dependencies:
  python: ["pydantic>=2.0.0", "numpy>=1.20.0"]

Read the full file on GitHub · 217 lines

Files

What ships with it

3 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. 8d ago First seen · 217 lines · 14 tokens per session scan A 492c50206d29

Subscribe to this mod's changes

advanced-example is a skill published in the GitHub repository srprasanna/mcp-skill-hub (12 stars, last pushed 10mo ago), licensed MIT. It adds 14 tokens to every session and 1,471 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.