tweakcc
AGENTS.md2.5k starsChanged 10 months agoMITView on GitHub
This document provides guidelines for agentic coding assistants working in this repository. Whenever you make a logical change that belongs in one commit, update the changelog at the bottom of the "Unreleased" section. It should follow the format Change description (#PR) - @author. The change description should usually be the PR title unless there are multiple logical changes in the same PR that each deserve their own item.
Trending
Less talk lately.about the whole repository
Who's talking about Piebald-AI/tweakcc
- A Hacker News story“Tweakcc”Hacker News · Oct 23, 2025 · 22 points
- anthropics/claude-code“:rocket: Introducing tweakcc - customize your Claude Code installation”GitHub · Jul 25, 2025 · 8 reactions
- Ven0m0/claude-config“Add a structured external integration plan to the root TODO backlog”GitHub · Mar 18, 2026 · 4 reactions
- A Hacker News story“Show HN: tweakcc (OSS)–customize Claude Code's system prompt and LSP and /title”Hacker News · Nov 19, 2025 · 3 points
- A Hacker News story“Show HN: Tweakcc – Customize Claude Code's CLI (themes, verbs, spinner)”Hacker News · Aug 26, 2025 · 3 points
The biggest 5 of 25 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 25
Talked about on GitHub, Hacker News and Bluesky (25 times).
On GitHub · 19
- Jul 25, 2025:rocket: Introducing tweakcc - customize your Claude Code installation — anthropics/claude-code8 reactions · 6 comments
- Mar 18, 2026Add a structured external integration plan to the root TODO backlog — Ven0m0/claude-config4 reactions · 4 comments
- Mar 26, 2026tweakcc alternative to hooks — jgravelle/jcodemunch-mcp1 reaction · 5 comments
- Jan 31, 2026TODO list — Ven0m0/claude-config1 reaction · 18 comments
- Nov 18, 2025Build for Windows 11 arm64 — Piebald-AI/node-lief1 reaction · 1 comment
14 more on GitHub
- Nov 10, 2025Error: /lib64/libc.so.6: version `GLIBC_2.38' not found (required by node-lief.node) on Oracle Linux 9 — Piebald-AI/node-lief1 reaction · 1 comment
- Jul 25, 2025Add tweakcc — customize your Claude Code installation — hesreallyhim/awesome-claude-code1 reaction
- Oct 1, 2026agent-skills.github.piebald-ai.tweakcc: init at 4.3.3 — sudosubin/agents.nix0 reactions
- Aug 11, 2026launch: local API proxy to intercept/rewrite Claude Code's system prompt — phaedrus1992/llmenv0 reactions
- Jul 7, 2026fix(cc): pin tweakcc to v4.3.0 + native-binary startup smoke in validateFork — opencues/opencues0 reactions · 1 comment
- May 19, 2026Support for 2.1.144 — BenIsLegit/tweakcc-system-prompts-unnerfed0 reactions · 1 comment
- Apr 27, 2026feat(tweakcc): adopt llm-agents.nix updater pattern — Bad3r/nixos0 reactions · 3 comments
- Mar 26, 2026toc-native runtime: adopt patterns from Claude Code's prompt architecture — louismorgner/tiny-oc0 reactions
- Jan 13, 2026Feature request: Remove turn completion verbs — ominiverdi/claude-depester0 reactions · 1 comment
- Dec 2, 2025Explore tweakcc — PaulRBerg/dot-claude0 reactions
- Nov 22, 2025[FEATURE] Overridable Plan mode system prompt — anthropics/claude-code0 reactions · 5 comments
- Aug 27, 2025Add tweakcc - TUI to customize your Claude Code themes, thinking verbs, and more — rothgar/awesome-tuis0 reactions
- Jul 27, 2025Add tweakcc to Who's Using Ink? — vadimdemedes/ink0 reactions
- Jul 25, 2025Add tweakcc — jqueryscript/awesome-claude-code0 reactions · 2 comments
On Hacker News · 4
- Oct 23, 2025Tweakcc22 points · 3 comments
- Nov 19, 2025Show HN: tweakcc (OSS)–customize Claude Code's system prompt and LSP and /title3 points · 1 comment
- Aug 26, 2025Show HN: Tweakcc – Customize Claude Code's CLI (themes, verbs, spinner)3 points · 5 comments
- Oct 23, 2025Show HN: Customize Claude Code's System Prompt with Tweakcc1 point
On Bluesky · 2
- Mar 13, 2026I don't use claude code anymore but when I did the first thing I did was use tweakcc to change the system prompt. There's so much unwanted… — @jmcodes.bsky.social1 likes and repost
- Sep 15, 2025Claude CodeのテーマなどをカスタマイズできるCLIツール。brew install tweakcc — @matsuu.bsky.social1 likes and repost
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- patch-creationSkill
The file
We split this AGENTS.md into the rules it gives an agent
10 rules. About 0 are common, 1 is distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 47
Avoid
any: Use unknown with type guards or as unknown as Type for assertions - Very specific: line 82
Use hooks: useState, useEffect, useCallback
- Very specific: line 89
Identifier matching: Use [$\\w]+ instead of \\w+ (includes $ for React refs)
- Very specific: line 90
Word boundaries: Use , ; } { literal characters at regex start instead of \\b for performance
- Very specific: line 110
Test files in src/tests/*.test.ts and src/patches/*.test.ts
- Distinctive: line 112
Test edge cases and error conditions
- Very specific: line 116
Use ink for CLI rendering
- Very specific: line 117
Use chalk for terminal colors
- Very specific: line 118
Use commander for CLI argument parsing
- Very specific: line 119
Add shebang to index.tsx for executable support
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
This document provides guidelines for agentic coding assistants working in this repository.
Development Commands
# Build
pnpm build # Production build (typecheck + minify)
pnpm build:dev # Development build (no minification)
pnpm watch # Watch mode for iterative development
# Testing
pnpm test # Run all tests once
pnpm test:dev # Run tests in watch mode
npx vitest run <test-file> # Run single test file
pnpm run test -- <pattern> # Run tests matching pattern
# Linting & Formatting
pnpm lint # Typecheck + ESLint
pnpm format # Format code with Prettier
# Run CLI
pnpm start # Run built CLI
node dist/index.mjs # Alternative run commandMaking changes
Whenever you make a logical change that belongs in one commit, update the changelog at the bottom of the "Unreleased" section. It should follow the format Change description (#PR) - @author. The change description should usually be the PR title unless there are multiple logical changes in the same PR that each deserve their own item.
Imports
// Group imports in this order:
import fs from 'node:fs/promises'; // Node.js built-ins (use node: prefix)
import path from 'node:path';
import chalk from 'chalk'; // Third-party libraries
import ink from 'ink';
import { getConfig } from '@/config'; // Internal imports (use @/ alias)
import { PatchConfig } from '@/types';TypeScript
- Strict mode enabled in tsconfig.json
- Avoid
any: Useunknownwith type guards oras unknown as Typefor assertions - Interfaces for complex objects, types for simple unions
- Custom errors: Extend
Errorclass withnameproperty
export class CustomError extends Error {
constructor(message: string) {
super(message);
this.name = 'CustomError';
}
}Naming Conventions
- Files: camelCase for logic (
config.ts), PascalCase for React components (MainView.tsx) - Functions: camelCase (
getConfig,detectInstallation) - Constants: UPPER_SNAKE_CASE (
CONFIG_DIR,DEFAULT_CONFIG) - Components: PascalCase with descriptive names (
ThinkingVerbsView) - Interfaces: PascalCase, descriptive (
StringsPrompt,MarkdownPrompt)
Error Handling
try {
const result = await someAsyncOperation();
return result;
} catch (error) {
debug('Error occurred:', error);
return null; // Graceful fallback
}React Patterns
- Use hooks:
useState,useEffect,useCallback - Context API for state management
- Ink components:
Box,Text,Newline - Explicit prop types with interfaces
Writing Patches
- Identifier matching: Use
[$\\w]+instead of\\w+(includes$for React refs) - Word boundaries: Use
,;}{literal characters at regex start instead of\\bfor performance - Avoid
\\b: Performance issue in V8, use literal alternatives
Testing
// Use Vitest globals
import { describe, it, expect, beforeEach, vi } from 'vitest';
describe('functionName', () => {
beforeEach(() => {
vi.mock('some-module');
});
it('should do something', () => {
expect(result).toBe(expected);
});
});- Test files in
src/tests/*.test.tsandsrc/patches/*.test.ts - Mock dependencies with
vi.mock() - Test edge cases and error conditions
CLI Patterns
- Use
inkfor CLI rendering - Use
chalkfor terminal colors - Use
commanderfor CLI argument parsing - Add shebang to index.tsx for executable support
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

