okffs: Instructions file for Claude Code

CLAUDE.md

okffs CLAUDE.md is an instructions file for Claude Code from neturely/okffs. It costs 14,335 tokens per session, scanned A, original, MIT.

Repository instructions for okffs, a TypeScript and Node.js server that connects Claude Code with GitHub. They define how its issue, branch, merge, and close workflow should operate.

In plain words
What is it for?
Use them when working on okffs or its GitHub workflow, especially when handling issues, branches, merges, authentication, or destructive actions.
Why use it?
They keep GitHub as the source of truth and require extra confirmation before actions that can change or remove project data.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is neturely/okffs's own configuration. It tells Claude Code how to work on okffs 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 okffs configures →

Reuse

Borrowing it

Nothing to install: this file belongs to neturely/okffs. 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/neturely/okffs/develop/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/neturely/okffs

Made for: Claude Code.

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 okffs CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/neturely/okffs/claude-md/github.svg)](https://agentmods.dev/instructions/neturely/okffs/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/neturely/okffs/claude-md"><img src="https://agentmods.dev/badge/instructions/neturely/okffs/claude-md/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 okffs CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/neturely/okffs/claude-md"><img src="https://agentmods.dev/badge/instructions/neturely/okffs/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14,335 This file is loaded in full into every session.
When invoked 14,335 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.14335 $0.14335
Opus 5.5 $0.05734 $0.05734
Sonnet 5.5 $0.02867 $0.02867
Haiku 4.5 $0.01434 $0.01434

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

Security

Grade A, and why

okffs CLAUDE.md 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 2d 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.

CLAUDE.md · 187 lines

How it starts

The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

Guidance for Claude Code when working in this repository.

Project

okffs is a TypeScript/Node.js MCP server that connects Claude Code to GitHub, enabling a full issue → branch → merge → close workflow. The goal: discuss tasks in Claude.ai, then push them to GitHub as issues and branches in one shot via Claude Code.

Stack

  • TypeScript / Node.js MCP server
  • GitHub Personal Access Token (PAT) authentication (upgrade to a GitHub App later)
  • Published to npm (package name: @neturely/okffs) and the MCP Registry (registry.modelcontextprotocol.io)

Conventions

  • Destructive tools require confirmed: true — call once for a warning, re-call to proceed.
  • GitHub is the source of truth for issue state, never local.
  • Keep the tool surface minimal — do one thing well per tool.
  • Destructive actions post a comment to the issue before acting.
  • Always reach for an okffs tool before raw git/gh/GraphQL when one covers the action — a correctness rule, not a style preference. okffs authenticates with the configured GITHUB_TOKEN (scoped for this repo, incl. Projects/org Issue Fields), whereas raw gh/git uses whatever ambient CLI token is signed in — often the wrong identity or missing scopes; and okffs applies the conventions (branch naming, the Branch: link, Closes #N, board placement, changelog fragments, the OKFFS_PROTECTED_BRANCH invariant) that hand-rolled commands silently skip. When an okffs tool covers the action — issues, PRs (create_pull_request for an issue's PR; promote_branch for a base→protected promotion like develop → main, never raw gh pr create; fix_into_base for an issue-less fix PR into the base branch, never raw gh pr create/gh pr merge), comments, review threads (resolve_review_thread / the address_pr_review prompt), releases (prepare_release), project status — use it and honour its env toggles (OKFFS_RESOLVE_THREADS, OKFFS_BASE_BRANCH, OKFFS_PROTECTED_BRANCH, OKFFS_PROMOTION_*, …) rather than re-deriving the behaviour. Fall back to raw git/gh only when no okffs tool fits. Never merge/tag/publish into OKFFS_PROTECTED_BRANCH autonomously (okffs may open a PR into it, but not merge) — hand back to the user.

Read the full file on GitHub · 187 lines

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. 2d ago Changed · +91 tokens per session 45db869490b2
  2. 5d ago Changed · +2 lines · +826 tokens per session 2c734d92bd3f
  3. 1mo ago Changed · +4 lines · +2,245 tokens per session 73749286575f
  4. 2mo ago First seen · 181 lines · 11,173 tokens per session scan A 2c289721c0f7

Subscribe to this mod's changes

okffs CLAUDE.md is an instructions file published in the GitHub repository neturely/okffs (2 stars, last pushed 3d ago), licensed MIT. It adds 14,335 tokens to every session, about $0.0573 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-08-31.

Related

okffs CLAUDE.md compared with instructions from other repositories

okffs CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
okffs CLAUDE.mdneturely/okffsInstructions file23d agoMITA14,335Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode