yds-setup

yds-setup is a skill for Claude Code from ymd38/dev-skills. It costs 161 tokens per session (2,928 once invoked), scanned C, original, MIT.

An interview-based setup tool for installing a development-skills framework in a project. It adds project guidance, checks, rules, and connections between development workflows.

In plain words
What is it for?
Use it to configure CLAUDE.md, hooks, settings, rules, and skill wiring after confirming the project’s languages and commands.
Why use it?
It helps establish consistent project practices before development starts without guessing the project’s languages or commands.

Skill for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

Good fit Use it to configure CLAUDE.md, hooks, settings, rules, and skill wiring after confirming the project’s languages and commands.

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

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 yds-setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ymd38/dev-skills/yds-setup"><img src="https://agentmods.dev/badge/skills/ymd38/dev-skills/yds-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,928 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00161 $0.02928
Opus 5.5 $0.00064 $0.01171
Sonnet 5.5 $0.00032 $0.00586
Haiku 4.5 $0.00016 $0.00293

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

Security

Grade C, and why

yds-setup scanned grade C with 2 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- **Q-H3. Bash guard strength**: standard (rm -rf /, force-push to the

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/ymd38/dev-skills/main/harness/scripts/install.sh \
skills/yds-setup/SKILL.md · 226 lines

How it starts

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

dev-skills Full Harness Setup (Interview Mode)

Goal

Turn the current repository into a project that runs the Diagnose → Register/Draft → Plan → Resolve ⇄ Verify cycle with mechanical guardrails (hooks) and a lean CLAUDE.md.

Skills alone are L1. This setup adds L2–L3: a short project brain (CLAUDE.md), hard rails (hooks + settings), and cycle guidance (rules). It never creates scheduled or cron-driven automation (L4); event-driven GitHub Actions — strict CI and the opt-in PR Agent review — are L2–L3 and in scope.

Principles

  • Interview, no auto-detection. Do NOT infer languages from go.mod, package.json, etc., even when they exist. This setup targets pre-development projects where detection misleads. File existence is used only for overwrite/merge prompts.
  • Never overwrite existing CLAUDE.md / settings / hooks without explicit per-file approval. Prefer merge (append missing sections).
  • Hooks enforce hard rules; CLAUDE.md holds soft guidance. Keep CLAUDE.md short — detail lives in skills and .claude/rules/.
  • Write files only after the user approves the Phase 4 summary.

Workflow

Ask one phase at a time and wait for answers. If the user says "use defaults", still require the primary language choice, then apply the defaults table below to everything else.

How to ask (question-tool contract)

When a structured question tool (e.g. AskUserQuestion) is available, use one call per phase, and keep every call within the tool's contract — violating it aborts the turn with "Invalid tool parameters":

  • At most 4 questions per call; every question needs 2–4 predefined options — never an empty or single-option list. A free-text "Other" choice is provided by the tool automatically; rely on it for custom values instead of inventing an "enter manually" option list.
  • Free-form items (project name, custom commands) must still offer 2+ options: make option 1 the recommended default (e.g. "Use directory name:
  • Multi-choice items (additional languages, components) use the tool's multi-select mode.
  • If the tool is unavailable or returns an error, fall back to asking the same questions as plain chat text and wait for the answers — never skip a phase because the tool failed.

Read the full file on GitHub · 226 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. 1mo ago Changed · +16 lines 2e67f6010c12
  2. 1mo ago First seen · 210 lines · 161 tokens per session scan C ceb5c555b78c

Subscribe to this mod's changes

yds-setup is a skill published in the GitHub repository ymd38/dev-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 161 tokens to every session and 2,928 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.