notfair-plugin / notfair
CLAUDE.md3.9k starsChanged 3 months agoMITView on GitHub
Project conventions and notes for AI assistants working on NotFair. A local, single-user, goal-driven agent runner. The user states a goal; NotFair provisions an anonymous agent for it (agent = goal, 1:1), the agent defines a platform-verifiable metric + target in chat, the user confirms the plan (which starts the loop on the spot), and a heartbeat loop ("checks") measures the metric and lets the agent act — with observation windows, a spend envelope, and per-goal memory as the controls.…
Trending
More talk lately.about the whole repository
Who's talking about nowork-studio/notfair-plugin
- sudosubin/agents.nix“claude-code-plugins.github.nowork-studio.notfair-plugin: init at 0-unstable-2026-10-01”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-plugins.github.nowork-studio.notfair-plugin: init at 0-unstable-2026-10-01”GitHub · Oct 4, 2026
- duynx8689-boop/awesome-ai-agents-2026“🔗 Broken links detected”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.nowork-studio.notfair-plugin: 0-unstable-2026-09-22 → 0-unstable-2026-10-01”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.nowork-studio.notfair-plugin: init at 0-unstable-2026-09-22”GitHub · Sep 30, 2026
The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 23
Talked about on GitHub (23 times).
On GitHub · 23
- Oct 4, 2026claude-code-plugins.github.nowork-studio.notfair-plugin: init at 0-unstable-2026-10-01 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-plugins.github.nowork-studio.notfair-plugin: init at 0-unstable-2026-10-01 — sudosubin/agents.nix0 reactions
- Oct 4, 2026🔗 Broken links detected — duynx8689-boop/awesome-ai-agents-20260 reactions
- Oct 3, 2026agent-skills.github.nowork-studio.notfair-plugin: 0-unstable-2026-09-22 → 0-unstable-2026-10-01 — sudosubin/agents.nix0 reactions
- Sep 30, 2026agent-skills.github.nowork-studio.notfair-plugin: init at 0-unstable-2026-09-22 — sudosubin/agents.nix0 reactions
18 more on GitHub
- Sep 27, 2026🔗 Broken links detected — duynx8689-boop/awesome-ai-agents-20260 reactions
- Sep 20, 2026🔗 Broken links detected — duynx8689-boop/awesome-ai-agents-20260 reactions
- Sep 19, 2026feat(notfair): add NotFair third-party MCP plugin — cursor/plugins0 reactions · 1 comment
- Sep 19, 2026feat(notfair): add NotFair third-party MCP plugin — ununununium/plugins0 reactions
- Sep 17, 2026Add NotFair plugin — hashgraph-online/awesome-ai-plugins0 reactions · 2 comments
- Sep 13, 2026🔗 Broken links detected — prakkulampillai-bit/Awsome0 reactions
- Sep 13, 2026🔗 Broken links detected — duynx8689-boop/awesome-ai-agents-20260 reactions
- Sep 6, 2026🔗 Broken links detected — prakkulampillai-bit/Awsome0 reactions
- Sep 6, 2026🔗 Broken links detected — duynx8689-boop/awesome-ai-agents-20260 reactions
- Aug 30, 2026🔗 Broken links detected — prakkulampillai-bit/Awsome0 reactions
- Aug 30, 2026🔗 Broken links detected — duynx8689-boop/awesome-ai-agents-20260 reactions
- Aug 29, 2026Add NotFair Plugin to AEO & GEO — IsaacBell/awesome-technical-marketing0 reactions
- Aug 23, 2026Add NotFair Plugin marketing collection — Petrichor-Projects/awesome-strategy-skills0 reactions · 1 comment
- Aug 23, 2026🔗 Broken links detected — duynx8689-boop/awesome-ai-agents-20260 reactions
- Aug 23, 2026🔗 Broken links detected — ARUNAGIRINATHAN-K/awesome-ai-agents-20260 reactions
- Aug 23, 2026🔗 Broken links detected — prakkulampillai-bit/Awsome0 reactions
- Aug 22, 2026Add NotFair Plugin to Agent Skills and MCP Servers — cloudapp-dev/awesome-open-geo0 reactions
- Aug 16, 2026🔗 Broken links detected — prakkulampillai-bit/Awsome0 reactions
In this repository54 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- geminiSkill
- gohighlevelSkill
- upgradeSkill
- backlink-auditSkill
- broken-link-checkerSkill
- competitor-pagesSkill
- content-plannerSkill
- content-writerSkill
- ecommerce-seoSkill
- geminiSkill
- geo-optimizerSkill
- gohighlevelSkill
- google-ads-assetsSkill
- google-ads-auditSkill
- google-ads-copySkill
- google-ads-landingSkill
- google-adsSkill
- google-analyticsSkill
- hreflang-internationalSkill
- image-seoSkill
- keyword-researchSkill
- local-seoSkill
- meta-ads-auditSkill
- meta-ads-creativeSkill
- meta-adsSkill
- meta-tags-optimizerSkill
- paid-ads-amazonSkill
- paid-ads-chatgptSkill
- paid-ads-creativeSkill
- paid-ads-guideSkill
- paid-ads-integrationsSkill
- paid-ads-launchSkill
- paid-ads-linkedinSkill
- paid-ads-optimizeSkill
- paid-ads-redditSkill
- paid-ads-reviewSkill
- paid-ads-setupSkill
- paid-adsSkill
- paid-ads-tiktokSkill
- paid-ads-xSkill
- programmatic-seoSkill
- schema-markup-generatorSkill
- search-consoleSkill
- seo-analysisSkill
- seo-driftSkill
- seo-pageSkill
- setup-cmsSkill
- sitemap-auditSkill
- sxoSkill
- upgradeSkill
- wordpressSkill
- wordpressSkill
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
No approvals, no tasks, no orchestration layer: goals are the only unit.
- Distinctive: line 25
Test pure logic and user-visible component behavior.
- Distinctive: line 84
No legacy code: No migration shims, no backward-compat branches, no dead flags.
- Distinctive: line 87
Don't rebuild the wheels: Before proposing any new abstraction, identify whether an existing tool already solves the sub-problem.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
CLAUDE.md
Project conventions and notes for AI assistants working on NotFair.
What NotFair is
A local, single-user, goal-driven agent runner. The user states a goal; NotFair provisions an anonymous agent for it (agent = goal, 1:1), the agent defines a platform-verifiable metric + target in chat, the user confirms the plan (which starts the loop on the spot), and a heartbeat loop ("checks") measures the metric and lets the agent act — with observation windows, a spend envelope, and per-goal memory as the controls. No approvals, no tasks, no orchestration layer: goals are the only unit.
Verification
This repo carries no migrations or legacy/compat code. Verification is:
pnpm typecheck— must be clean.pnpm test— vitest; must be clean. Tests live next to the code they cover (src/lib/foo.ts→src/lib/foo.test.ts). Default environment is node; component tests opt into a DOM with a leading// @vitest-environment jsdompragma and use@testing-library/react. Mock at the server-action / db-module boundary (vi.mock), not deeper. Test pure logic and user-visible component behavior. Prefer testing below the page boundary, but use a focused page regression test when the bug is in server-page wiring that lower-level tests cannot observe. Route handlers normally stay covered by the live smoke. SQLite tests use the real better-sqlite3 against a tmpdir — and theNOTFAIR_DATA_DIRoverride MUST be set insidevi.hoisted(...): static imports evaluate before module-level statements, so a plain assignment points the suite at the developer's live~/.notfair.pnpm build— must be clean.- Live smoke:
pnpm dev(port 3326), then walk the affected flow in the browser (goal index → goal page → chat / confirm / checks).
Prompt-affecting changes (src/server/goals/identity.ts, tick briefs in
src/server/goals/tick.ts, tool descriptions in
src/server/mcp-server/tools.ts) must be validated by running a real goal
loop end-to-end and reading the agent's actual behavior in the transcript.
Project structure conventions
- Database: SQLite via
better-sqlite3at~/.notfair/db.sqlite(overridable viaNOTFAIR_DATA_DIR). The entire schema lives insrc/server/db/schema.tsand is applied idempotently on boot — there is no migration system. Schema changes edit that file; dev databases are recreated, not migrated. - Agent state: agent workspaces live at
~/.notfair/agents/<agent-id>/. NotFair owns the workspace; the chosen harness adapter writes whatever files it expects (CLAUDE.md for Claude Code, AGENTS.md for Codex, plus the shared IDENTITY.md / SKILL.md / PROJECT.md NotFair writes). - Sessions / transcripts: stored in SQLite (
sessions,transcript_events). The chat route persists every adapter event; the UI replays them on attach. Tick sessions are labeledtick-<n>; the intake chat ismain. - Goals: agent = goal.
goals+goal_actions+goal_metric_snapshotsgoal_learnings+goal_tickstables; db modulesrc/server/db/goals.ts; loop runtime undersrc/server/goals/(intake, tick, metric, provision, identity). The 30s scheduler insrc/server/scheduler/tick.tssweepsgoals.next_tick_at.
- MCP: NotFair exposes two internal MCP servers as Next routes —
notfair-goals(/api/mcp/goals, the goal tools) andnotfair-browser(/api/mcp/browser). External catalog tokens are project-scoped inmcp_tokens; every agent in a project gets every connected server. - Memory: shared workspace context is
~/.notfair/projects/<slug>/PROJECT.md(synced into every agent identity; written via theset_shared_contexttool). Per-agent memory is thegoal_learningsledger + the agent's own workspace files.
Architectural tenets
- Harness-agnostic. NotFair runs on top of any local AI coding agent that
conforms to the
HarnessAdaptercontract undersrc/server/adapters/. Today: Claude Code (claude-code-local) and Codex (codex-local). - NotFair owns the runtime services. Goal scheduling, MCP token storage, agent provisioning, session/transcript persistence — all in SQLite + Node. Adapters only handle: (1) spawning the harness to stream a turn, (2) writing harness-specific workspace config, (3) registering MCP servers for the harness to find.
- Single-user local CLI. A local Next.js process launched via the
notfairbin. No multi-tenant code paths, no auth, no multi-process state coordination. - No legacy code. No migration shims, no backward-compat branches, no dead flags. When a concept is removed, every trace of it goes — code, schema, comments, and on-disk state.
- Don't rebuild the wheels. Before proposing any new abstraction, identify whether an existing tool already solves the sub-problem. Prefer thin glue layers over custom infrastructure.
Commit style
Conventional commits with type-scope-description: feat(goals): backfill
metric history at intake, fix(tick): clamp smart sleep to deadline.
Co-author trailer when AI-assisted:
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>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.

