clawness

Featured

Claude Code & OpenClaw plugin, with a context-aware rules engine that injects only the rules each prompt needs. Codebase-aware, ~4ms lookup, pure Python. 222 rules / 30 domains for full-stack and scientific work. Includes a deterministic security audit, automatic session handoffs, ranked project memory, context usage alerts, and review agents.

plugin 4 stars 0 forks Updated 6 days ago MIT

Install

Plugins install via a marketplace, in two steps.

This plugin isn't listed in a marketplace we've indexed. Install it directly from its GitHub repository — the README has the setup steps.

View on GitHub

Bundles

Everything this plugin ships — skills, agents, commands, hooks, and MCP servers it bundles.

Skills (10)

AI & Automation Listed

add

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.

4 Updated 6 days ago
fullymiddleaged
AI & Automation Listed

audit

Run a red team / blue team security audit on the current project or a specific module. Spawns adversarial sub-agents that probe for vulnerabilities and propose fixes. Use when reviewing security before deployment, after adding auth/payment code, or on a schedule.

4 Updated 6 days ago
fullymiddleaged
Code & Development Listed

bootstrap

Author a starter set of Clawness rules for a project whose stack Clawness ships no corpus for (Ruby, PHP, Elixir, Haskell, C#, Swift, Dart, Scala, Clojure, ...). Researches the stack's current conventions from official documentation, drafts a small set of project rules into .clawness/rules/, lint-validates them, and stops for approval before writing anything. Run it when the SessionStart empty-coverage note fires, or whenever you want project rules for an uncovered stack.

4 Updated 6 days ago
fullymiddleaged
AI & Automation Listed

claude-md

Shrink an oversized CLAUDE.md. Measures what the project's always-loaded instructions cost per turn, then works through it section by section — cutting what the codebase already says, moving path-specific guidance to .claude/rules/ and prompt-specific conventions to .clawness/rules/, and leaving load-bearing "don't undo this" content where it is. Destructive and deliberate: run it when you have the session to spend.

4 Updated 6 days ago
fullymiddleaged
AI & Automation Listed

eval-set

Build and run a project-specific retrieval eval so changes to your rules or base prompt are scored, not eyeballed. Mirrors tests/ground_truth.json + `clawness eval`: you write prompt→expected-rule cases, then measure MRR@k and hit-rate before and after an edit. Run it after trimming a base prompt into ranked retrieval (see openclaw-audit / claude-md), or whenever you change rules and want proof retrieval still surfaces what matters.

4 Updated 6 days ago
fullymiddleaged
Code & Development Listed

openclaw-audit

Trim an OpenClaw workspace's base system prompt. Measures what the always-injected workspace files (SOUL.md, AGENTS.md, IDENTITY.md, USER.md, MEMORY.md) cost per turn, then works through them section by section — cutting what the tools or codebase already say, moving durable conventions to Clawness ranked retrieval (.clawness/rules/) and one-line traps to .clawness/memory.md, and leaving load-bearing persona and identity where they are. Destructive and deliberate: run it when you have the session to spend.

4 Updated 6 days ago
fullymiddleaged
AI & Automation Listed

perf

Run a performance audit on the project or a specific module. Checks for N+1 queries, unnecessary re-renders, memory leaks, bundle size issues, and slow algorithms.

4 Updated 6 days ago
fullymiddleaged
Code & Development Listed

refresh

Bring this project's Clawness rules up to date with the framework version it actually runs. Establishes what is installed and what the codebase uses, looks up what changed since the rules were verified, and writes version-corrected overrides into .clawness/rules/ — reporting the list and stopping for approval before it writes anything. Run it when the SessionStart version-gap note fires, or whenever a major upgrade lands.

4 Updated 6 days ago
fullymiddleaged
Code & Development Listed

review

Run an adversarial code review on staged changes or a specific file. Spawns the code-critic agent to find bugs, performance issues, and missed edge cases. Use before merging PRs or committing.

4 Updated 6 days ago
fullymiddleaged
AI & Automation Listed

status

Show the current Clawness configuration: which rules are loaded, which agents are available, and how the hook is configured. Use to understand what rules Claude is seeing for this project.

4 Updated 6 days ago
fullymiddleaged

Agents (7)

arch-challenger.md code-critic.md perf-auditor.md refactor-advisor.md security-blue-team.md security-red-team.md test-writer.md

Hooks (16)

_hookutil.py access_guard.py changelog_check.py claude_hook.py claude_md_check.py compress_output.py ensure_deps.py git_check.py handoff_check.py memory_init.py plan_gate.py setup_agents.py setup_settings.py setup_skills.py stack_detect.py trust_ledger.py

Quality Score: 76/100

Stars 20%
23
Recency 20%
100
Manifest 20%
100
Documentation 15%
0
Issue Health 10%
80
License 10%
100
Description 5%
100

Details

Author
fullymiddleaged
Repository
fullymiddleaged/Clawness
Created
2 months ago
Last Updated
6 days ago
Language
Python
License
MIT