ring:writing-skills

ring:writing-skills is a skill for Cursor from LerianStudio/ring. It costs 100 tokens per session (1,149 once invoked), scanned A, original, Apache-2.0.

A guide for creating or editing reusable instructions for coding agents. It uses TDD, or test-driven development, meaning you first define a failing test, then write the instructions until they pass, and finally close remaining loopholes.

In plain words
What is it for?
Use it to structure a SKILL.md file, add required metadata, improve searchability, reduce unnecessary words, and pressure-test the instructions with failure cases.
Why use it?
It helps make process guides clear, reusable, and resistant to excuses or incomplete compliance. It also explains when a reusable skill is appropriate instead of a one-off project note.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin. Also seen: mentions CLAUDE.md; mentions subagents.

Part of the ring-default plugin — 23 skills, 2 agents, 1 hook shipped together

Good fit Use it to structure a SKILL.md file, add required metadata, improve searchability, reduce unnecessary words, and pressure-test the instructions with failure cases.

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

Made for: Cursor.

Or install ring-default, the plugin that ships this one along with the rest of its 23 skills, 2 agents, 1 hook.

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 ring:writing-skills

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lerianstudio/ring/writing-skills"><img src="https://agentmods.dev/badge/skills/lerianstudio/ring/writing-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,149 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 23
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • high Rogue Agent · line 83
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
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.00100 $0.01149
Opus 5.5 $0.00040 $0.00460
Sonnet 5.5 $0.00020 $0.00230
Haiku 4.5 $0.00010 $0.00115

Measured 1mo ago against content hash f906ac3aec37, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ring:writing-skills 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 1mo 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.

default/skills/writing-skills/SKILL.md · 131 lines

How it starts

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

Writing Skills

When to use

  • Creating a new skill
  • Editing an existing skill
  • Skill needs to resist rationalization under pressure

Skip when

  • Writing pure reference skill (API docs) → no rules to test
  • Skill has no compliance costs → no rationalization risk

Complementary: ring:testing-skills-with-subagents

Writing skills IS TDD applied to process documentation.

Same Iron Law: No skill without failing test first.
Same cycle: RED (baseline) → GREEN (write skill) → REFACTOR (close loopholes).

REQUIRED BACKGROUND: Understand ring:test-driven-development before using this skill.

What is a Skill?

A reusable reference guide for proven techniques, patterns, or tools. Not a narrative about how you solved something once.

Create when: technique wasn't obvious, you'd reference it again, applies broadly.
Skip when: one-off solution, project-specific convention (put in CLAUDE.md).

Skill Types

Type Examples
Technique (steps to follow) condition-based-waiting, root-cause-tracing
Pattern (way of thinking) flatten-with-flags, test-invariants
Reference (docs/API) API reference, command syntax

SKILL.md Structure

---
name: ring:skill-name-with-hyphens
description: Use when [triggers/symptoms] — [what it does, third person]
---
# Skill Name
## Overview (1-2 sentences)
## When to Use (symptoms + skip conditions)
## Core Pattern (before/after examples)
## Quick Reference (table for scanning)
## Implementation (inline or linked)
## Common Mistakes

Frontmatter rules: Only name and description. Max 1024 chars total. name: letters, numbers, hyphens only. description: third-person, starts "Use when...", <500 chars if possible.

Agent Search Optimization (ASO)

Agents read description to decide which skills to load. Make it answer: "Should I read this skill right now?"

  • Use concrete triggers and symptoms (problem-focused, not language-specific)
  • Use keywords agents would search: error messages, symptoms, tool names
  • Active voice, verb-first names: creating-skills not skill-creation
  • Reference skills by name only: ring:test-driven-development, no @ links (force-loads context)

Read the full file on GitHub · 131 lines

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. 1mo ago First seen · 131 lines · 100 tokens per session scan A f906ac3aec37

Subscribe to this mod's changes

ring:writing-skills is a skill published in the GitHub repository LerianStudio/ring (218 stars, last pushed 4d ago), licensed Apache-2.0. It adds 100 tokens to every session and 1,149 once invoked, about $0.0004 per session on Opus 5.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-08-30.

Related

Other skills, from other repositories

mutation-test

Mutation testing with two engines. Uses the project's NATIVE mutation runner (StrykerJS / Infection / mutmut / PIT / cargo-mutants) when one is configured — installing it on explicit consent when it is not — for a reproducible, comparable score; and an LLM-guided engine for the mutation classes native mutators cannot…

greglas75/zuvo · 210 tokens

write-tests

Write tests for existing production code. Processes ONE file at a time through a full pipeline: analyze, inventory (frozen BEFORE writing), write, executable coverage gate, verify, blind coverage audit, adversarial review, log. Uses CodeSift for discovery and analysis when available. Modes: [path] (specific target)…

greglas75/zuvo · 87 tokens

code-audit

Batch audit of production files against CQ1-CQ40 quality gates and CAP1-CAP29 anti-patterns. Tiered output (A/B/C/D), critical gate enforcement, evidence-backed scoring, cross-file pattern analysis, and prioritized execution plan. Flags: zuvo:code-audit all | [path] | [file] | --deep | --quick | --services |…

greglas75/zuvo · 83 tokens

plan

Analyzes architecture, selects patterns, assesses testability, then decomposes work into ordered TDD tasks with exact verification commands and explicit acceptance mapping. Works from an approved spec (zuvo:brainstorm output) or directly from a user-provided description.

greglas75/zuvo · 53 tokens

pentest

Hybrid white-box + black-box penetration testing across 7 dimensions (PT1-PT7). Stack-aware source-to-sink tracing, exploit verification, CMS overlay, and deterministic finding aggregation. Uses explicit candidate schemas, canonical-key deduplication, score caps, and MUST-GATE enforcement. Flags: zuvo:pentest [path] |…

greglas75/zuvo · 124 tokens

api-audit

API and endpoint integrity audit across 10 dimensions (D1-D10) plus optional contract stability (D11) and optional OWASP API Security Top 10 (D12: BOLA/BOPLA/BFLA, mass assignment, JWT alg-confusion, GraphQL introspection). Covers validation, payloads, pagination, errors, caching, HTTP semantics, waterfalls, rate…

greglas75/zuvo · 135 tokens