snippet-library

snippet-library is a skill for Claude Code from chainlesschain/chainlesschain. It costs 24 tokens per session (576 once invoked), scanned A, original, no licence file.

A library for saving, searching, organizing, tagging, and importing or exporting reusable code snippets.

In plain words
What is it for?
Use it to store snippets, find them later, classify them, detect their programming language, and move them between systems.
Why use it?
It reduces the time spent recreating or hunting for code that has already been written.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to store snippets, find them later, classify them, detect their programming language, and move them between systems.

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

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 snippet-library

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chainlesschain/chainlesschain/snippet-library"><img src="https://agentmods.dev/badge/skills/chainlesschain/chainlesschain/snippet-library.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 576 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 unknown 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.00024 $0.00576
Opus 5 $0.00012 $0.00288
Sonnet 5 $0.00005 $0.00115
Haiku 4.5 $0.00002 $0.00058

Measured 7d ago against content hash 33a4140880d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

snippet-library 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (handler.js), 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.

- input: '/snippet-library --save --name "fetch-json" --lang js --tags api,http --code "const res = await fetch(url); return res.json();"'
desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/snippet-library/SKILL.md · 52 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 7d ago First seen · 52 lines · 24 tokens per session scan A 33a4140880d1

Subscribe to this mod's changes

snippet-library is a skill published in the GitHub repository chainlesschain/chainlesschain (11 stars, last pushed today), with no licence file. It adds 24 tokens to every session and 576 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-09-03.

Related

Other skills, from other repositories

arm-mcp-mcp

Provides AI assistants with specialized tools for Arm architecture development, migration, optimization, and profiling. Includes knowledge base search, code migration analysis, container architecture inspection, Arm Performix workload profiling, and assembly performance analysis.

Friz-zy/ai-capability-registry · 48 tokens

checkup-simplify

Use this skill when the user asks for conservative cleanup of already changed source files, similar to Claude Code /simplify, but the active agent may be Cursor, Codex, Gemini, or OpenCode.

promptdriven/pdd · 0 tokens

a0-development

Develop or operate Agent Zero: projects, chats, tasks, framework, tools and API/WebUI.

agent0ai/agent-zero · 24 tokens

agent-desktop

Use the built-in Computer sub-agent with agent-desktop for macOS desktop automation. Apply when a task needs application launching, accessibility snapshots, stable element refs, window focusing, semantic clicks/typing, or visual confirmation outside the browser sandbox.

superagent-ai/grok-cli · 56 tokens

knowledge-interaction-surfaces-terminal-ui

A codebase guide for the interactive terminal interface, including keyboard input, message display, confirmations, questions, session switching, and streamed output.

echoVic/blade-code · 150 tokens

knowledge-session-state-and-context-session-catalog-fork-rewind-and-export

A session-lifecycle component for finding, resuming, archiving, branching, rewinding, searching, and exporting saved conversations.

echoVic/blade-code · 140 tokens