intentKeeper CLAUDE.md

intentKeeper CLAUDE.md is an instructions file for Claude Code from Olawoyin007/intentKeeper. It costs 1,953 tokens per session, scanned A, original, MIT.

Repository instructions for intentKeeper, a local content filter that classifies social-media content by intent, such as ragebait, fearmongering, hype, or genuine insight.

In plain words
What is it for?
Use it when installing, running, testing, evaluating, formatting, or releasing intentKeeper, including its server, test suite, evaluation scripts, and version checks.
Why use it?
It keeps development aligned with the project's local-only design, which uses Ollama without cloud services, external calls, or telemetry.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/olawoyin007/intentkeeper/claude-md
Clone the repo
git clone --depth 1 https://github.com/Olawoyin007/intentKeeper

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/olawoyin007/intentkeeper/claude-md.svg)](https://agentmods.dev/instructions/olawoyin007/intentkeeper/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/olawoyin007/intentkeeper/claude-md"><img src="https://agentmods.dev/badge/instructions/olawoyin007/intentkeeper/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,953 This file is loaded in full into every session.
When invoked 1,953 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.01953 $0.01953
Opus 5 $0.00977 $0.00977
Sonnet 5 $0.00391 $0.00391
Haiku 4.5 $0.00195 $0.00195

Measured 6d ago against content hash 0c4a2d1e93d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

intentKeeper 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 6d 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 · 203 lines

How it starts

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

CLAUDE.md

Before any PR: read MERGE_CHECKLIST.md Before any release: run python3 scripts/check_version.py

Project Overview

intentKeeper is a local-first content filter that classifies social media content by its underlying intent - ragebait, fearmongering, hype, or genuine insight. It runs entirely on local hardware via Ollama. No external API calls, no telemetry, no cloud.

Core philosophy: "The content isn't the problem. The intent behind it is."

Development Commands

# Install with dev dependencies
pip install -e ".[dev]"

# Start the classification server
intentkeeper-server
# or
uvicorn server.api:app --reload --port 8420

# Run unit tests (93 tests, Ollama not required - all mocked)
pytest tests/

# Run tests with coverage
pytest tests/ --cov=server

# Run the classification eval (requires Ollama running)
python eval/run_eval.py
python eval/run_eval.py --verbose          # show every item
python eval/run_eval.py --filter ragebait  # one intent only

# Version consistency check
python3 scripts/check_version.py

# Linting and formatting
ruff check server/
ruff check --fix server/
black server/

Required Environment Variables

Configure in .env (see .env.example):

Required:

  • OLLAMA_HOST - Ollama server URL (default: http://localhost:11434)
  • OLLAMA_MODEL - Model name (default: mistral:7b-instruct)

Optional:

  • OLLAMA_TEMPERATURE - LLM temperature (default: 0.1)
  • OLLAMA_SEED - Pin sampling seed for reproducible output (unset = non-deterministic)
  • OLLAMA_VISION_MODEL - Vision model for image/thumbnail analysis (e.g. moondream, llava:7b); when unset, image analysis is skipped and only text is classified
  • INTENTKEEPER_HOST - Server bind address (default: 127.0.0.1)
  • INTENTKEEPER_PORT - Server port (default: 8420)
  • MANIPULATION_THRESHOLD - Score threshold for treatments (default: 0.6)
  • CACHE_TTL - Cache time-to-live in seconds (default: 300)
  • CACHE_MAX_SIZE - Max LRU cache entries (default: 1000)
  • DEBUG - Enable debug logging (default: false)

Read the full file on GitHub · 203 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. 6d ago First seen · 203 lines · 1,953 tokens per session scan A 0c4a2d1e93d4

Subscribe to this mod's changes

intentKeeper CLAUDE.md is an instructions file published in the GitHub repository Olawoyin007/intentKeeper (11 stars, last pushed 3d ago), licensed MIT. It adds 1,953 tokens to every session, about $0.0098 per session on Opus 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-30.