Skip to content
Agentmart
Submit a tool

add

Create a new Clawness rule from a natural language description.

Skill by fullymiddleaged

IndexedMIT★ 5
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/fullymiddleaged-add

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Create a new Clawness rule from a natural language description. Describe what you want enforced and this will generate the YAML rule file with proper tags, triggers, and examples.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/add

What's inside

Skill name
add
Description
Create a new Clawness rule from a natural language description. Describe what you want enforced and this will generate the YAML rule file with proper tags, triggers, and examples.
License
MIT
Instructions
50 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Create a New Rule

Generate a Clawness rule from the user's description.

## Process

1. **Understand the intent** — The user describes a coding practice they
   want enforced. Parse their description for:
   - What domain this falls under (nextjs, react, python, etc.)
   - Whether it should be mandatory (always enforced) or ranked
   - The severity (error for "must do", warning for "should do", info for "consider")

2. **Generate the YAML** — Create a properly formatted rule:
   ```yaml
   id: DOMAIN-DESCRIPTIVE-NNN
   domain: detected_domain
   severity: error|warning|info
   tags: [relevant, search, keywords]
   triggers: [code, tokens, that, signal, relevance]
   when: Clear condition for when this rule applies.
   rule: >
     The actual instruction, written clearly and specifically.
   violation: "Concrete example of what NOT to do"
   correct: "Concrete example of what TO do"
   ```

3. **Tags and triggers are critical** — These drive retrieval. Include:
   - The concepts involved (e.g., "caching", "auth", "state")
   - The code tokens someone would use (e.g., "useEffect", "fetch", "router")
   - The framework/library names (e.g., "nextjs", "prisma", "zod")

4. **Save the rule** — Determine the right location:
   - If `.clawness/rules/` exists in the project, save there (project-scoped)
   - Otherwise, save to the global rules directory
   - Ask the user to confirm before writing

5. **Test it** — Run a test query to verify the rule would be retrieved
   for the kind of prompt it should match.

## Example

User says: "Always use server actions for form mutations in Next.js"

→ Generates a rule with:
- domain: nextjs
- tags: [server-actions, forms, mutations, use-server]
- triggers: [form, submit, action, mutation, create, update, delete]
- Saves to the appropriate rules directory

From fullymiddleaged/Clawness, MIT.

More from fullymiddleaged/Clawness

Signals

Stars
5
Forks
0
Open issues
0
Last commit (this folder)
Jun 27, 2026 (4 months ago)
Last release
Oct 4, 2026 (24 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from fullymiddleaged

Cite this page

add skill. Agent Mart. https://agentmart.dev/skills/fullymiddleaged-add (last updated 2026-10-24)