cosmosmith-project-rules

cosmosmith-project-rules is a skill for Claude Code, Codex from devnomad-byte/cosmosmith. It costs 73 tokens per session (453 once invoked), scanned A, original, MIT.

A tool for creating project instruction files that tell coding agents and editors how to work in a repository. It uses AGENTS.md as the main rule file and can add short adapters for tools such as Claude, Cursor, Copilot, OpenCode, or Trae.

In plain words
What is it for?
Use it when setting up or updating repository rules for coding agents, choosing supported editor-specific rule files, and recording follow-up work in task.md.
Why use it?
Different coding tools may look for different instruction files. A shared main file with small adapters keeps project rules consistent without copying them everywhere.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/devnomad-byte/cosmosmith/cosmosmith-project-rules
Any agent
npx skills add devnomad-byte/cosmosmith --skill cosmosmith-project-rules
Clone the repo
git clone --depth 1 https://github.com/devnomad-byte/cosmosmith

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 cosmosmith-project-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/devnomad-byte/cosmosmith/cosmosmith-project-rules.svg)](https://agentmods.dev/skills/devnomad-byte/cosmosmith/cosmosmith-project-rules)
Your own site
<a href="https://agentmods.dev/skills/devnomad-byte/cosmosmith/cosmosmith-project-rules"><img src="https://agentmods.dev/badge/skills/devnomad-byte/cosmosmith/cosmosmith-project-rules.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 453 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00073 $0.00453
Opus 5 $0.00036 $0.00227
Sonnet 5 $0.00015 $0.00091
Haiku 4.5 $0.00007 $0.00045

Measured 4d ago against content hash 757ad6aa0983, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cosmosmith-project-rules 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 4d 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.

plugins/cosmosmith/skills/cosmosmith-project-rules/SKILL.md · 35 lines

What it actually says

Cosmosmith Project Rules

Purpose

Install Cosmosmith project rules into the user's repository without forcing every editor to use the same file.

Workflow

  1. Ask which rule surfaces the user wants only if it is not clear. Default to AGENTS.md only.
  2. If AGENTS.md is requested, create or update it from the Cosmosmith generated-project template.
  3. If CLAUDE.md is requested, create a small adapter that points to AGENTS.md as canonical.
  4. If Cursor is requested, create .cursor/rules/cosmosmith.mdc as an adapter to AGENTS.md.
  5. If GitHub Copilot is requested, create .github/copilot-instructions.md as an adapter to AGENTS.md.
  6. If OpenCode is requested, create .opencode/AGENTS.md as an adapter to AGENTS.md.
  7. If Trae is requested, create .trae/rules/cosmosmith.md as an adapter to AGENTS.md.
  8. Keep adapters short and do not duplicate the whole constitution unless the tool requires it.
  9. Update task.md with any follow-up tasks.

Rules

  • AGENTS.md is canonical for cross-agent project behavior.
  • Tool-specific files are adapters.
  • Supported adapters include CLAUDE.md, .cursor/rules/cosmosmith.mdc, .github/copilot-instructions.md, .opencode/AGENTS.md, and .trae/rules/cosmosmith.md.
  • If an adapter conflicts with AGENTS.md, follow AGENTS.md and update the adapter.
  • Do not overwrite substantial existing project rules without preserving user-specific guidance.

Completion

Stop when requested rule files exist, identify their canonical source, and record any follow-up tasks.

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. 4d ago First seen · 35 lines · 73 tokens per session scan A 757ad6aa0983

Subscribe to this mod's changes

cosmosmith-project-rules is a skill published in the GitHub repository devnomad-byte/cosmosmith (20 stars, last pushed 2mo ago), licensed MIT. It adds 73 tokens to every session and 453 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

auth-web-cloudbase

CloudBase Web Authentication Quick Guide for frontend integration after auth-tool has already been checked. Provides concise and practical Web authentication solutions with multiple login methods and complete user management.

TencentCloudBase/CloudBase-AI-Toolkit · 38 tokens

browse-and-evaluate

Use when exploring the ai-agent-skills catalog to find, compare, and evaluate skills before installing. Always use --fields to limit output size and --dry-run before committing to an install.

MoizIbnYousaf/Ai-Agent-Skills · 43 tokens

loop-engineering

Shared loop-engineering reference for COG skills - the agent loop, deterministic verifiers, termination conditions, in-loop context management, and named patterns. Invoke when designing or debugging a skill that iterates (search-verify-retry, scan-until-dry, fetch-retry-gate).

huytieu/COG-second-brain · 63 tokens

telnyx-messaging-hosted-curl

Set up hosted SMS numbers, toll-free verification, and RCS messaging. Use when migrating numbers or enabling rich messaging features. This skill provides REST API (curl) examples.

team-telnyx/ai · 45 tokens

render-airdrop-carousel

Assemble a viral iOS "AirDrop" notification-carousel video ad (≈6–8s, 9:16) from a brand line plus 6–16 real product photos — a native AirDrop share-sheet card ("Brand would like to share a · Decline / Accept") springs up and its preview window CYCLES through the products, landing on a range/lineup payoff with an…

gooseworks-ai/goose-skills · 207 tokens

render-3d-product-showcase

Assemble a premium 3D product-showcase ad from a config — four beat clips (an orbiting hero rotation, a macro push-in, a physics reveal, a typographic close) normalized to the brand-color canvas, hard-concatenated in order, closed on a deterministic Playwright brand end card, and mixed under one instrumental bed at…

gooseworks-ai/goose-skills · 159 tokens