Agent skill

Code Sample Documentation

by hashgraph-online in hashgraph-online/awesome-codex-plugins

Design, write, review, and test code samples in developer documentation, including executable examples, explanatory snippets, request and response pairs, placeholders, outputs, language choice…

MITAuto-check passed

Install Code Sample Documentation

skills CLI
$ npx skills add hashgraph-online/awesome-codex-plugins --skill code-sample-documentation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hashgraph-online/awesome-codex-plugins code-sample-documentation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/LVTD-LLC/skills/skills/code-sample-documentation .claude/skills/code-sample-documentation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-sample-documentation
GitHub stars
1.2k
Token cost
~699 tokens
SKILL.md length
265 words
Files
4 (incl. references)
Skills in repo
736
Repo updated
First seen
Licence
MIT

At a glance

Design, write, review, and test code samples in developer documentation, including executable examples, explanatory snippets, request and response pairs, placeholders, outputs, language choice…

  • Works in 5 steps: Load guidelines.md to choose the… → Classify the sample as executable,… → Check whether the sample is explained,… → …
  • Docs include API examples
  • SKILL.md covers Quick Start, Default Output, Contents and Core Posture
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Code Sample Documentation is an agent skill from hashgraph-online/awesome-codex-plugins. Design, write, review, and test code samples in developer documentation, including executable examples, explanatory snippets, request and response pairs, placeholders, outputs, language choice, sandboxing, and autogenerated samples. Use when docs include API examples, SDK snippets, CLI commands, config examples, tutorials, or code blocks readers may copy.

Its SKILL.md is about 700 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `guidelines.md`, `references/core/knowledge.md` and `workflows/review-code-sample.md`). Compatibility notes: Codex, Claude Code, and other Agent Skills-compatible clients.

The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is MIT.

When your agent uses it

  • Docs include API examples
  • Config examples
  • Code blocks readers may copy

Example prompts

  • “/code-sample-documentation”

Requirements

  • Compatibility (from SKILL.md): Codex, Claude Code, and other Agent Skills-compatible clients.

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Load guidelines.md to choose the smallest useful reference set.
  2. Classify the sample as executable, explanatory, or paired request/response.
  3. Check whether the sample is explained, concise, clear, usable, and trustworthy.
  4. Use workflows/review-code-sample.md for a full sample review.
  5. Prefer running or testing samples when feasible; otherwise mark what remains unverified.

What it can do on your machine

Read from SKILL.md and the folder at commit 16b4156. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • link.springer.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Codex, Claude Code, and other Agent Skills-compatible clients.

    From compatibility in the SKILL.md frontmatter.

Context cost

Code Sample Documentation loads about 699 tokens when it runs, and up to ~1.9k if it reads all its reference files. Until then it costs about 96 tokens; SKILL.md has 265 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~96
When it runs · the whole SKILL.md, loaded when a task matches
~699
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hashgraph-online/awesome-codex-plugins at commit 16b4156, republished under its MIT licence (© hashgraph-online). 265 words, ~699 tokens.

Download SKILL.mdSave it as .claude/skills/code-sample-documentation/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
code-sample-documentation
description
Design, write, review, and test code samples in developer documentation, including executable examples, explanatory snippets, request and response pairs, placeholders, outputs, language choice, sandboxing, and autogenerated samples. Use when docs include API examples, SDK snippets, CLI commands, config examples, tutorials, or code blocks readers may copy.
compatibility
Codex, Claude Code, and other Agent Skills-compatible clients.
license
MIT
metadata.version
0.1.0
metadata.displayName
Code Sample Documentation
metadata.category
Writing
metadata.tags
developer-docs,technical-writing,documentation,code-samples,api-docs

Code Sample Documentation

Use this skill to create and review code samples that are useful, accurate, copyable, and maintainable. It applies to executable examples, explanatory snippets, API request/response pairs, CLI commands, config files, and generated references.

This skill is derived from Docs for Developers: An Engineer's Field Guide to Technical Writing, especially Chapter 5, "Integrating code samples." The guidance is transformed and paraphrased; do not copy book prose into user outputs. Source: https://link.springer.com/book/10.1007/978-1-4842-7217-6

Quick Start

  1. Load guidelines.md to choose the smallest useful reference set.
  2. Classify the sample as executable, explanatory, or paired request/response.
  3. Check whether the sample is explained, concise, clear, usable, and trustworthy.
  4. Use workflows/review-code-sample.md for a full sample review.
  5. Prefer running or testing samples when feasible; otherwise mark what remains unverified.

Default Output

When reviewing or designing code samples, return:

  1. Sample purpose - what the reader should learn or accomplish.
  2. Sample type - executable, explanatory, request/response, CLI, config, or generated.
  3. Issues or design notes - ordered by reader risk.
  4. Revised sample - concise and copyable when requested.
  5. Testing plan - how to verify runtime behavior, outputs, and version assumptions.
  6. Maintenance notes - source of truth, owner, and generated/manual boundary.

Contents

NeedStart Here
Understand sample typesreferences/core/knowledge.md
Apply sample rulesreferences/core/knowledge.md
See before/after examplesreferences/core/knowledge.md
Review or design a sampleworkflows/review-code-sample.md
Route by taskguidelines.md

Core Posture

  • A sample is documentation and software; treat it as both.
  • Match sample complexity to the reader's stage.
  • Make placeholders, inputs, outputs, and limitations explicit.
  • Do not imply a sample is production-ready unless it has been reviewed and tested for that use.

© hashgraph-online, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in plugins/LVTD-LLC/skills/skills/code-sample-documentation of hashgraph-online/awesome-codex-plugins.

  • SKILL.md
  • guidelines.md
  • references/core/knowledge.md
  • workflows/review-code-sample.md

Open the folder on GitHubat commit 16b4156

Compare with similar skills

Code Sample Documentation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Sample Documentation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Sample Documentation this skillhashgraph-online/awesome-codex-plugins1.2k—~699Automated safety check: PassMIT
MCP Developmentcoollabsio/coolify63k1 repos~949Automated safety check: PassMIT
Game Developmentsickn33/agentic-awesome-skills47k1 repos~1.3kAutomated safety check: PassMIT
Twenty App Entity Developmenttwentyhq/twenty58k—~1.8kAutomated safety check: PassCustom licence
Developmentccusage/ccusage19k—~433Automated safety check: PassCustom licence
Developer Onboardingsickn33/agentic-awesome-skills47k1 repos~627Automated safety check: PassMIT

Similar skills

  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Frontend & DesignAuto-check passed
  • Game Development

    sickn33/agentic-awesome-skills

    Game development orchestrator. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 1 repo~1.3k tokens
    Game DevelopmentAuto-check passed
  • Guides changes to an existing Twenty app: adding or editing objects, layouts, logic functions and front components, with a plan stated before multi-entity edits.

    58k GitHub stars~1.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Development

    ccusage/ccusage

    Guides ccusage monorepo development. An agent skill from ccusage/ccusage.

    19k GitHub stars~433 tokensUpdated today
    DevelopmentAuto-check passed
  • Developer Onboarding

    sickn33/agentic-awesome-skills

    Get developers to "Hello World" fast with optimized quickstarts, tutorials, and sample apps.

    47k GitHub starsUsed in 1 repo~627 tokens
    Auto-check passed
  • Frontend Development

    OpenHands/OpenHands

    This skill should be used when the user asks to "add UI copy", "add a translation", "optimize the frontend bundle", "change onboarding", "change conversation UI", "add a query key", "change MSW…

    90k GitHub stars~324 tokensUpdated today
    Frontend & DesignAuto-check passed

More from hashgraph-online/awesome-codex-plugins

All 736 skills in this repo
  • Anime Reaction Gif

    hashgraph-online/awesome-codex-plugins

    Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.

    1.2k GitHub stars~922 tokensUpdated today
    Auto-check passed
  • Calibredb

    hashgraph-online/awesome-codex-plugins

    Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).

    1.2k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Rust API Test Harness

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…

    1.2k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Art

    hashgraph-online/awesome-codex-plugins

    Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…

    1.2k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Calle

    hashgraph-online/awesome-codex-plugins

    Use CALL-E from Codex through the calle CLI. An agent skill from hashgraph-online/awesome-codex-plugins.

    1.2k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Game Balance Economy

    hashgraph-online/awesome-codex-plugins

    Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.

    1.2k GitHub stars~618 tokensUpdated today
    Auto-check passed

Questions about Code Sample Documentation

What does Code Sample Documentation do?

Design, write, review, and test code samples in developer documentation, including executable examples, explanatory snippets, request and response pairs, placeholders, outputs, language choice…. Code Sample Documentation is an agent skill from hashgraph-online/awesome-codex-plugins. Design, write, review, and test code samples in developer documentation, including executable examples, explanatory snippets, request and response pairs, placeholders, outputs, language choice, sandboxing, and autogenerated samples.

When should I use Code Sample Documentation?

Code Sample Documentation fits situations like: docs include API examples; config examples; code blocks readers may copy.

How do I install Code Sample Documentation in Claude Code?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill code-sample-documentation -a claude-code`. Or copy the skill folder (plugins/LVTD-LLC/skills/skills/code-sample-documentation in hashgraph-online/awesome-codex-plugins) into .claude/skills/code-sample-documentation in your project. Claude Code loads it when a task matches its description.

How do I install Code Sample Documentation in Codex?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill code-sample-documentation -a codex`. Or copy the skill folder (plugins/LVTD-LLC/skills/skills/code-sample-documentation in hashgraph-online/awesome-codex-plugins) into .agents/skills/code-sample-documentation in your project. Codex loads it when a task matches its description.

Can I use Code Sample Documentation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hashgraph-online/awesome-codex-plugins --skill code-sample-documentation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-sample-documentation, .gemini/skills/code-sample-documentation, .github/skills/code-sample-documentation and .opencode/skills/code-sample-documentation in your project.

What does Code Sample Documentation need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Sample Documentation is instructions for the agent only. Compatibility (from SKILL.md): Codex, Claude Code, and other Agent Skills-compatible clients..

Does Code Sample Documentation access the network?

SKILL.md names 1 domain. As links in the text: link.springer.com. This is read from the text; nothing was executed.

Is Code Sample Documentation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Code Sample Documentation use?

Code Sample Documentation is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Sample Documentation use?

About 699 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.2k tokens, read only when the agent opens those files.

What are the alternatives to Code Sample Documentation?

Skills that share tags, products or a category with Code Sample Documentation: MCP Development (coollabsio/coolify, 63k stars), Game Development (sickn33/agentic-awesome-skills, 47k stars), Twenty App Entity Development (twentyhq/twenty, 58k stars) and Development (ccusage/ccusage, 19k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Sample Documentation?

hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,232 GitHub stars. The repository holds 736 skills in this directory. The repository was last updated on October 6, 2026.

Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.