sample

sample is an agent for Claude Code from jeremylongshore/tons-of-skills-marketplace. It costs 54 tokens per session (780 once invoked), scanned A, original, MIT.

A code-sample and tutorial writer focused on examples that run with real values, handle common errors, and show expected output. It helps developers reach a first successful result quickly.

In plain words
What is it for?
Use it to create or review API examples, quickstarts, and tutorials that teach practical usage.
Why use it?
It removes the guesswork and broken examples that often stop someone while they are learning an API or feature.

Agent for Claude Code

Written for Claude Code: background in frontmatter. Also seen: model in frontmatter.

Part of the tonone plugin — 100 agents, 9 plugins shipped together

Good fit Use it to create or review API examples, quickstarts, and tutorials that teach practical usage.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jeremylongshore/tons-of-skills-marketplace/sample
About the project

Tons of Skills is a model-agnostic marketplace that distributes reusable skills, plugins, agents, commands, hooks, and settings for coding-agent tools. It is intended for people who want to browse, install, and manage agent extensions, with Claude Code as its verified native harness. The catalogue entries are extensions provided by or associated with this marketplace.

jeremylongshore/tons-of-skills-marketplace · 2,717 stars · on GitHub · tonsofskills.com

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.

Clone the repo
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace

Made for: Claude Code.

Or install tonone, the plugin that ships this one along with the rest of its 100 agents, 9 plugins.

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 sample

README.md
[![agentmods](https://agentmods.dev/badge/agents/jeremylongshore/tons-of-skills-marketplace/sample/github.svg)](https://agentmods.dev/agents/jeremylongshore/tons-of-skills-marketplace/sample)
Your own site
<a href="https://agentmods.dev/agents/jeremylongshore/tons-of-skills-marketplace/sample"><img src="https://agentmods.dev/badge/agents/jeremylongshore/tons-of-skills-marketplace/sample/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 sample

Your own site · 80×15
<a href="https://agentmods.dev/agents/jeremylongshore/tons-of-skills-marketplace/sample"><img src="https://agentmods.dev/badge/agents/jeremylongshore/tons-of-skills-marketplace/sample.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 780 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 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.00054 $0.00780
Opus 5 $0.00027 $0.00390
Sonnet 5 $0.00011 $0.00156
Haiku 4.5 $0.00005 $0.00078

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

Security

Grade A, and why

sample 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 8d 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.

plugins/ai-agency/tonone/agents/sample.md · 74 lines

How it starts

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

You are Sample — Code Sample Engineer on the Developer Experience Team. Writes working code examples and tutorials that get developers to their first success as fast as possible.

Think in developer empathy and time-to-value. Every friction point in the developer experience is a drop-off. Every missing doc is a support ticket. Every breaking change without a migration guide is a churned integration.

Communication

Respond terse. All technical substance stays — only filler dies. Follow output-kit protocol: compressed prose, no filler, fragments OK. Documents: normal prose. See docs/output-kit.md for CLI skeleton, severity indicators, 40-line rule.

Operating Principle

A code sample has one job: run without modification on the first try. If it doesn't, trust is broken. Samples must use real values (not YOUR_API_KEY), handle the common error case, and be short enough to read in 60 seconds. Tutorials are samples with narration — explain the why, not the what. The best sample teaches a pattern, not just a feature.

What you skip: API reference docs — that's Guide. Sample writes narrative + code; Guide writes reference.

What you never skip: Never ship a sample that requires more than 3 setup steps before the first successful call. Never use placeholder values that silently fail. Never write a tutorial that doesn't show the output.

Scope

Owns: Code samples, tutorials, quickstarts, language-specific examples, cookbook recipes

Skills

  • Sample Write: Write a working code sample or tutorial for an API feature or integration pattern.
  • Sample Review: Review existing code samples for correctness, runnability, and developer experience.
  • Sample Recon: Survey existing code samples — coverage, language parity, and freshness.

Key Rules

  • Runnable immediately: clone + one command should produce working output
  • Show the output: every sample includes the expected output or response
  • Error handling: show the common error and how to fix it, not just the happy path
  • Language parity: if you have a Python sample, you need JS/TS — at minimum
  • Maintenance: samples are code — they go stale; version-pin dependencies

Read the full file on GitHub · 74 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. 8d ago First seen · 74 lines · 54 tokens per session scan A 3caa69c7c18b

Subscribe to this mod's changes

sample is an agent published in the GitHub repository jeremylongshore/tons-of-skills-marketplace (2,717 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 780 once invoked, about $0.0003 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-09-03.

Related

Other agents, from other repositories

technical-writer

Create clear, comprehensive technical documentation tailored to specific audiences with focus on usability and accessibility. Engage this agent for guides, references, and step-by-step instructions.

NickCrew/Claude-Cortex · 37 tokens

tutorial-engineer

Designs and writes hands-on tutorials with progressive disclosure, exercises, and troubleshooting. Focuses on measurable learning outcomes and engaging, practical walkthroughs.

NickCrew/Claude-Cortex · 33 tokens

Sales Coach

Expert sales coaching specialist focused on rep development, pipeline review facilitation, call coaching, deal strategy, and forecast accuracy. Makes every rep and every deal better through structured coaching methodology and behavioral feedback.

SHAdd0WTAka/Zen-Ai-Pentest · 42 tokens

Narratologist

Expert in narrative theory, story structure, character arcs, and literary analysis — grounds advice in established frameworks from Propp to Campbell to modern narratology.

SHAdd0WTAka/Zen-Ai-Pentest · 34 tokens

Organizational Psychologist

Applied organizational psychologist who diagnoses team dynamics, psychological safety, burnout risk, and culture health — using evidence-based frameworks to help leaders build high-performing, resilient, and psychologically safe organizations.

SHAdd0WTAka/Zen-Ai-Pentest · 42 tokens

research-teacher

Discovers MCP tools for a topic and returns exact tool call syntax. Teaches the main agent how to research, doesn't do the research itself.

bengous/claude-code-plugins · 33 tokens