ds-repo

ds-repo is a skill for Claude Code, Codex from sungurerdim/dev-skills. It costs 34 tokens per session (3,735 once invoked), scanned A, original, MIT.

A repository-health skill for checking and configuring a project's settings, branches, ownership files, metadata, team structure, and general housekeeping.

In plain words
What is it for?
Use it to audit or set up repository rules, branch protection, CODEOWNERS, open-source files, team structure, and repository hygiene.
Why use it?
It reveals configuration problems such as unprotected main branches, stale branches, or missing CODEOWNERS files, where CODEOWNERS defines who reviews specific files.

Skill for Claude CodeCodex

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

Good fit Use it to audit or set up repository rules, branch protection, CODEOWNERS, open-source files, team structure, and repository hygiene.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sungurerdim/dev-skills/ds-repo"><img src="https://agentmods.dev/badge/skills/sungurerdim/dev-skills/ds-repo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,735 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.00034 $0.03735
Opus 5 $0.00017 $0.01868
Sonnet 5 $0.00007 $0.00747
Haiku 4.5 $0.00003 $0.00374

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

Security

Grade A, and why

ds-repo 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 7d 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.

ds-repo/SKILL.md · 215 lines

How it starts

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

/ds-repo

Unprotected main branches, stale branches piling up, missing CODEOWNERS, no branch policies — most repos are misconfigured from day one. This skill audits and fixes it.

Repository Health — Audit and configure repo settings, branch policies, hygiene, metadata, team, and structure.

Completion Evidence — applies to every phase: Report done/OK only with the machine-checkable evidence the gates name — the exact command run and its observed output (or file:line diff). Missing evidence → report INCOMPLETE plus what is missing. Self-assessment is never evidence. (This band repeats at file end by design — both copies are normative.)

Triggers

  • User runs /ds-repo
  • User asks to audit or configure repo settings, branch protection, or CODEOWNERS
  • User asks about stale branches, repo hygiene, or team structure
  • User asks to set up a new repository or fix repo configuration

Triggers — INVOKE / DON'T INVOKE

INVOKE DON'T INVOKE
"audit repo settings", "set up branch protection" "audit code quality inside the repo" (→ ds-review)
"configure CODEOWNERS, OSS-ready files" "license / regulatory research" (→ ds-research)
"clean up stale / merged branches" "tidy commit history of a branch" (→ ds-pr --tidy)
"configure squash-only merge + delete-on-merge" "audit CI workflows" (→ ds-devops)

Contract

Dimensions: B4 (contributor), D8

  • Only manages repository settings and structure — not code quality.
  • Every recommendation cites a specific setting or file.
  • Standalone. Uses blueprint profile when available; ds/audit/findings.md only when fresh (git_hash == HEAD AND current run-cycle); own analysis otherwise.
  • Full accounting enforced: every finding and planned check ends in an explicit disposition (fixed / skipped + reason / only you can do); summary totals balance.
  • Pre-existing / out-of-scope errors detected during work are NOT skipped — fixed inline or escalated with concrete blocker.
  • State-exempt: audit is regenerable; generated configs/fixes land in the working tree — git is the durable record.
  • publish/irreversible exception-list extension: repo visibility changes (public↔private) and admin/permission changes are added to the exception list, citing "a business/legal decision not inferable from the repo" — these always resolve only you can do, never applied blind, whether or not --ask is set.

Read the full file on GitHub · 215 lines

Files

What ships with it

2 files 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 Changed · -50 lines d539315696e5
  2. 10d ago First seen · 265 lines · 34 tokens per session scan A c93e5a2e67b7

Subscribe to this mod's changes

ds-repo is a skill published in the GitHub repository sungurerdim/dev-skills (1 stars, last pushed 4d ago), licensed MIT. It adds 34 tokens to every session and 3,735 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-08-31.

Related

Other skills, from other repositories

ring:committing-changes

Commit changes with scope allowlist enforcement, atomic grouping, GPG-signed conventional commits, and trailer management. Detects the repo's PR-validation scope policy before proposing any message. Use when the user asks to commit or has changes ready to record. Skip when the working tree is clean or the user wants…

LerianStudio/ring · 74 tokens

ring:opening-pull-requests

Open a GitHub Pull Request with automatic base branch detection, scope allowlist enforcement, PR template filling, and post-create base verification. Replaces ring:generating-pr-descriptions. Use after pushing a branch when ready to open a PR. Skip if the branch is not yet pushed or there are uncommitted changes …

LerianStudio/ring · 83 tokens

ring:shipping-changes

End-to-end git orchestrator: branch → commit → push → PR, with a full plan presented before any execution. Detects base branch and scope allowlist once and propagates to all phases. Use when ready to ship a complete unit of work. Skip if only one phase is needed: commit-only → ring:committing-changes, PR-only →…

LerianStudio/ring · 86 tokens

ring:generating-pr-descriptions

Generating pull request descriptions from git branch changes with automatic title generation, change-type detection, and smart analysis. Uses branch-only scope to avoid full history analysis. Use when preparing a PR for review. Skip when the PR is a single trivial commit or description already exists.

LerianStudio/ring · 61 tokens

ring:generating-release-guides

Generating an internal Operations-facing update/migration guide from the git diff between two refs, documenting per-change client impact, deploy ordering, monitoring, and rollback notes in English, pt-br, or both. Use when preparing a version release or recording what changed for the Ops team. Runs read-only by…

LerianStudio/ring · 85 tokens

ring:cleaning-comments

Cleaning redundant and obvious comments following clean code principles while preserving meaningful documentation. Supports git scope filtering (staged, unstaged, branch, commit-range). Use when code has excessive comments, during code review, or post-refactor cleanup. Skip when reviewing documentation files or…

LerianStudio/ring · 64 tokens