# Cosmosmith Project Rules

> Generate or update project instruction files for Cosmosmith-governed projects. Use when the user wants AGENTS.md, CLAUDE.md, Cursor rules, Copilot instructions, OpenCode, Trae, or other editor/agent rules created from Cosmosmith conventions, or when they ask how agents should load and follow project rules.

- **Type:** Skill
- **Install:** `agentstack add skill-devnomad-byte-cosmosmith-cosmosmith-project-rules`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [devnomad-byte](https://agentstack.voostack.com/s/devnomad-byte)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [devnomad-byte](https://github.com/devnomad-byte)
- **Source:** https://github.com/devnomad-byte/cosmosmith/tree/main/plugins/cosmosmith/skills/cosmosmith-project-rules
- **Website:** https://www.npmjs.com/package/cosmosmith

## Install

```sh
agentstack add skill-devnomad-byte-cosmosmith-cosmosmith-project-rules
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [devnomad-byte](https://github.com/devnomad-byte)
- **Source:** [devnomad-byte/cosmosmith](https://github.com/devnomad-byte/cosmosmith)
- **License:** MIT
- **Homepage:** https://www.npmjs.com/package/cosmosmith

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-devnomad-byte-cosmosmith-cosmosmith-project-rules
- Seller: https://agentstack.voostack.com/s/devnomad-byte
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
