agentleFS
aymkinaymkin/fluent/AGENTS.md

fluent

AGENTS.md0 starsChanged 16 days agoMITView on GitHub

For non-Claude CLIs (Codex, Gemini, and other agentic coding tools). Claude Code loads CLAUDE.md and .claude/skills/ automatically and does not need this file. Fluent turns an agentic coding CLI into a personal language tutor. It stores the learner's profile, mistakes, mastery levels, and FSRS-6 review schedule as JSON in the data directory, and writes a markdown transcript of every practice session to /results/. Your job is to run interactive practice sessions against that state: present one question at a time,…

The file

Files
AGENTS.md

AI Agent Integration Guide

For non-Claude CLIs (Codex, Gemini, and other agentic coding tools). Claude Code loads CLAUDE.md and .claude/skills/ automatically and does not need this file.

What Fluent is

Fluent turns an agentic coding CLI into a personal language tutor. It stores the learner's profile, mistakes, mastery levels, and FSRS-6 review schedule as JSON in the data directory, and writes a markdown transcript of every practice session to /results/. Your job is to run interactive practice sessions against that state: present one question at a time, grade the answer, explain the correction, and persist the result.

What to read, in order

ReadFor
LEARNING_SYSTEM.mdSession mechanics — what state to load, FSRS scheduling, session-end protocol
CLAUDE.mdLearning principles, operating rules, tutor personality, database helper scripts
.claude/skills/<name>/SKILL.mdThe per-command flow (one directory per command, e.g. .claude/skills/fluent-writing/SKILL.md)
results/README.mdSession result file format the analyzer parses
.claude/skills/fluent-db-updater/SKILL.mdInput schema for read-db.py / update-db.py
data-examples/JSON schema of each database
.claude/references/level-b1.mdB1 targets and grading stance, when target_level is B1

The one thing that differs for you

Claude Code auto-loads a SKILL.md when the learner types the matching slash command, and auto-loads the helper skills (fluent-fsrs-reference, fluent-feedback-formatter, fluent-db-updater, fluent-session-analyzer) mid-session as needed. Other CLIs get no such dispatch — when the learner asks for /fluent-writing, read .claude/skills/fluent-writing/SKILL.md yourself, and read any helper skill it references before you rely on it.

Likewise, Fluent's hooks (SessionStart/PostToolUse/UserPromptSubmit) are Claude Code hooks. Outside Claude Code they do not fire, so call python3 .claude/hooks/read-db.py at session start and python3 .claude/hooks/update-db.py at session end explicitly. The prompt clock has no such fallback: with nothing recording prompt timestamps the session records no measured_minutes, and that is the correct outcome — the field is a measurement or it is absent.

Scheduling

Submit a score (0-10) and update-db.py schedules: .claude/hooks/fsrs.py maps it to an FSRS rating and returns the next interval_days / due_date. Hand-rolled interval math diverges from the stored state.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.