Clawness

Install once. Your coding agent gets the right rules for every task, without you having to mention or explain them.
Clawness is a Python backed plugin compatible with Claude Code and OpenClaw.
It's designed for full stack devs or researchers who often work across various code bases at short
notice, it works out (per prompt) which of your coding rules matter for the current task and puts
just those into context, so you never have to repeat your standards or dump them all into a huge Claude.md
file (or split files) per repo.
But it also does heaps more!
What you get:
- 236 rules across 32 domains: general coding, plus scientific computing, machine
learning, research method, building with LLMs, and vulnerability research. Only the ones that match your task
are injected.
- 7 review sub-agents: security red/blue team, code critic, architecture challenger,
and more.
- A plan-approval gate before the first edit of a session, on by default.
- Security: a deterministic vulnerability scan with an accumulating findings ledger
(so an audit converges in 1-2 passes, not 5-10), a red/blue-team
/clawness:security-audit, a
guard on risky tool calls, and a trust ledger for skills, agents, and MCP servers.
- Session continuity: a per-project lessons memory, a warning when your context window
is filling up, and a handoff the next session picks up on its own.
- Low token cost. Only the matching rules are injected, never the whole set. A typical
turn is around 1,700 tokens instead of loading all 236 rules every turn.
Under 1 MB, no services, no ML models, about 4 ms per prompt. Pure Python, with PyYAML as
the only dependency.
Not just for shipping code. 61 rules cover scientific computing, machine learning,
and research method (science, research, ml, CFD, Julia, Fortran, MATLAB, R),
injected the same automatic way. See For Researchers and Scientists.
Inspired by infinri/Writ, rebuilt from ~2 GB of
infrastructure to pure Python.
Contents
Quickstart
Claude Code
Two commands plus a session (or IDE) restart. Here, we assume you already have Python 3.10+ available on your PATH.
1. Install (from any Claude Code session):
claude plugin marketplace add fullymiddleaged/clawness
claude plugin install clawness@clawness
2. Restart Claude Code (or run /reload-plugins) so the hooks load.
3. Let first-run setup finish. On your first session, a background hook installs the
one Python dependency (PyYAML). This needs Python 3.10+ on your PATH and takes a few
seconds. There are no models to download.
4. Verify by asking Claude "what clawness rules do you see in your context?", or run
/clawness:status. If it describes the injected rules, you're live.
clawness@clawness isn't a typo. It's plugin@marketplace, and both are named
clawness. No Python 3.10+? See Installing Python. Without it the
plugin installs but injects nothing, and Claude tells you so on your first session.
OpenClaw (experimental)
Clawness runs inside OpenClaw through a thin TypeScript adapter that shells out to the same
Python engine and rules, so there's no second copy to keep in sync.
Requires Node ≥ 22.22.3, Python 3.10+, and OpenClaw ≥ 2026.3.24-beta.2 (the first
release with the plugin API the adapter needs). An older OpenClaw is rejected at install
with a clear error. Upgrade with npm i -g openclaw.