weft: Skill for Claude Code

.agents/skills/mode-code/SKILL.md

mode-code is a skill for Claude Code, Codex from WeaveMindAI/weft. It costs 56 tokens per session (2,533 once invoked), scanned A, original, no licence file.

A set of rules for writing and changing code, including naming, avoiding unnecessary duplication, tooling, and testing practices. It also says failures should be visible rather than silently covered up.

In plain words
What is it for?
Use it when creating code, refactoring existing code, or fixing issues found in a review.
Why use it?
It helps keep code changes consistent and makes problems easier to detect during development and review.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

This is WeaveMindAI/weft's own configuration. It tells Claude Code and Codex how to work on weft itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything weft configures →

Reuse

Borrowing it

Nothing to install: this file belongs to WeaveMindAI/weft. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/WeaveMindAI/weft/main/.agents/skills/mode-code/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/WeaveMindAI/weft

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 mode-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/weavemindai/weft/mode-code/github.svg)](https://agentmods.dev/skills/weavemindai/weft/mode-code)
Your own site
<a href="https://agentmods.dev/skills/weavemindai/weft/mode-code"><img src="https://agentmods.dev/badge/skills/weavemindai/weft/mode-code/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mode-code

Your own site · 80×15
<a href="https://agentmods.dev/skills/weavemindai/weft/mode-code"><img src="https://agentmods.dev/badge/skills/weavemindai/weft/mode-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,533 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.1 $0.00056 $0.02533
Opus 5.5 $0.00022 $0.01013
Sonnet 5.5 $0.00011 $0.00507
Haiku 4.5 $0.00006 $0.00253

Measured 8d ago against content hash f08c4dcdd694, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mode-code 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 8d 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.

.agents/skills/mode-code/SKILL.md · 100 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 8d ago Changed · +7 lines f08c4dcdd694
  2. 23d ago Changed bfb1429fe8bc
  3. 27d ago Changed c646dcd4531d
  4. 1mo ago Changed · +9 lines 1b7a1fa22947
  5. 1mo ago First seen · 84 lines · 56 tokens per session scan A b273247a1d03

Subscribe to this mod's changes

mode-code is a skill published in the GitHub repository WeaveMindAI/weft (2,011 stars, last pushed yesterday), with no licence file. It adds 56 tokens to every session and 2,533 once invoked, about $0.0002 per session on Opus 5.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-09-23.

Related

Other skills, from other repositories

adk-go-self-review

Review an ADK Go change the way a maintainer will — a fresh-context pass over the whole diff, five lenses (correctness and tests, scope, simplicity, style, adk-python parity), and the mutation check that proves your tests pin the change. Use before opening a PR, before any later push that changes code, and when asked…

google/adk-go · 87 tokens

adversarial-reviewer

Stress-test a code change for concrete correctness defects, unsafe assumptions, and failure modes. Use when the user explicitly asks for an adversarial review, a deep bug hunt, or to tear a change apart, or to check your own change before submitting it. Do not use for ordinary review, style feedback, or general…

emdash-cms/emdash · 72 tokens

go-testing

Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.

Gentleman-Programming/gentle-ai · 26 tokens

semgrep-rule-variant-creator

Creates language variants of existing Semgrep rules. Use when porting a Semgrep rule to specified target languages. Takes an existing rule and target languages as input, produces independent rule+test directories for each language.

waybarrios/opencode-power-pack · 50 tokens

brooks-sweep

Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user…

hyhmrright/brooks-lint · 178 tokens

plugin-review

Review plugin quality with tiered checks and dependency scoping. Use for PR and pre-release audits.

athola/claude-night-market · 23 tokens