snippets

snippets is a skill for Claude Code, Codex from Bilal140202/the-lord-of-the-skills. It costs 32 tokens per session (1,288 once invoked), scanned A, original, MIT.

A system for storing named, versioned pieces of prompt text that can be reused in several AI configurations. Examples include personas, safety instructions, output formats, and domain knowledge.

In plain words
What is it for?
Use it to create, browse, inspect, edit, delete, and insert reusable text blocks into configuration prompts.
Why use it?
It removes repeated copies of the same instructions and makes shared prompt text easier to keep consistent across configurations. Updating a snippet creates a new version.

Skill for Claude CodeCodex

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

Good fit Use it to create, browse, inspect, edit, delete, and insert reusable text blocks into configuration prompts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bilal140202/the-lord-of-the-skills/agentcontrol-snippets
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 Bilal140202/the-lord-of-the-skills --skill agentcontrol-snippets
Clone the repo
git clone --depth 1 https://github.com/Bilal140202/the-lord-of-the-skills

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 snippets

README.md
[![agentmods](https://agentmods.dev/badge/skills/bilal140202/the-lord-of-the-skills/agentcontrol-snippets/github.svg)](https://agentmods.dev/skills/bilal140202/the-lord-of-the-skills/agentcontrol-snippets)
Your own site
<a href="https://agentmods.dev/skills/bilal140202/the-lord-of-the-skills/agentcontrol-snippets"><img src="https://agentmods.dev/badge/skills/bilal140202/the-lord-of-the-skills/agentcontrol-snippets/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 snippets

Your own site · 80×15
<a href="https://agentmods.dev/skills/bilal140202/the-lord-of-the-skills/agentcontrol-snippets"><img src="https://agentmods.dev/badge/skills/bilal140202/the-lord-of-the-skills/agentcontrol-snippets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,288 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.00032 $0.01288
Opus 5 $0.00016 $0.00644
Sonnet 5 $0.00006 $0.00258
Haiku 4.5 $0.00003 $0.00129

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

Security

Grade A, and why

snippets 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/gondor/claude-code/LaunchDarkly__agent-skills/agentcontrol-snippets-SKILL.md · 132 lines

How it starts

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

Config Prompt Snippets

You're using a skill that will guide you through creating and managing prompt snippets in LaunchDarkly. Your job is to identify reusable text, create snippets, reference them in config variations, and verify everything is wired correctly.

Prerequisites

This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.

Required MCP tools:

  • create-prompt-snippet -- create a new reusable text block
  • list-prompt-snippets -- browse existing snippets in the project
  • get-prompt-snippet -- inspect a specific snippet's content

Optional MCP tools:

  • update-prompt-snippet -- edit a snippet's text, name, or tags
  • delete-prompt-snippet -- permanently remove a snippet
  • update-ai-config-variation -- update variation prompts to reference snippets

Core Concepts

What Are Prompt Snippets?

Prompt snippets are named, versioned text blocks stored at the project level. They contain reusable pieces of prompt text — personas, guardrails, output format instructions, domain knowledge — that can be shared across multiple config variations.

When a snippet is updated, a new version is created. Config variations that reference the snippet can pick up the latest version, keeping all your configs in sync.

When to Use Snippets

Scenario Example
Shared persona "You are a helpful customer support agent for Acme Corp..." used by 5 different configs
Safety guardrails "Never reveal internal pricing. Never generate code that accesses production databases."
Output format "Always respond in JSON with keys: answer, confidence, sources."
Domain knowledge Company-specific terminology, product names, or process descriptions
Regulatory text Compliance disclaimers that must appear in every response

When NOT to Use Snippets

  • Text that is unique to a single variation — just put it in the prompt directly
  • Dynamic content that changes per-request — use template variables instead
  • Entire prompts — snippets are building blocks, not complete prompts

Read the full file on GitHub · 132 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. 6d ago First seen · 132 lines · 32 tokens per session scan A 55b3865db573

Subscribe to this mod's changes

snippets is a skill published in the GitHub repository Bilal140202/the-lord-of-the-skills (4 stars, last pushed 6d ago), licensed MIT. It adds 32 tokens to every session and 1,288 once invoked, about $0.0002 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-06.

Related

Other skills, from other repositories

hunt-llm-ai

Hunt LLM/AI feature bugs — prompt injection, indirect injection, exfiltration via tool-use, ASCII smuggling, agentic AI security framework (ASI01-ASI10). Patterns: direct prompt injection in user input (bypass system prompt with 'ignore previous instructions'), indirect injection via documents/web pages the model…

adriannoes/awesome-agentic-ai · 226 tokens

roo-fix-volatile-msg

Ladder-aware Roo Code Anthropic caching — verify the rolling read/write ladder on the wire, then close the real gaps (Vertex 4-block budget, MiniMax path).

OnlyTerp/prompt-cache-skills · 42 tokens

implementing-llm-guardrails-for-security

Implements input and output validation guardrails for LLM-powered applications to prevent prompt injection, data leakage, toxic content generation, and hallucinated outputs. Builds a security validation pipeline using NVIDIA NeMo Guardrails Colang definitions, custom Python validators for PII detection and content…

adriannoes/awesome-agentic-ai · 143 tokens

cost-aware-llm-pipeline

A planning guide for choosing language models and managing the amount of conversation context used by an AI coding workflow. It groups tasks by complexity and gives rules for avoiding context overflow during long sessions.

hashgraph-online/awesome-codex-plugins · 42 tokens

prompt-lookup

Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.

f/prompts.chat · 39 tokens

chain-of-thought-prompts

Chain-of-thought and step-by-step reasoning prompts for complex problem solving.

a5c-ai/babysitter · 21 tokens