continuous-learner

continuous-learner is an agent for coding agents from avelikiy/great_cto. It costs 72 tokens per session (3,115 once invoked), scanned A, original, MIT.

A session-end note taker that finds repeatable lessons, decisions, and unusual costs from coding work and saves them in project or shared files.

In plain words
What is it for?
Use it to record recurring coding patterns in `.greatcto/lessons.md` and promote patterns seen at least three times to shared decisions in `~/.greatcto/decisions.md`.
Why use it?
It keeps useful experience from being lost between sessions while filtering out one-off facts, preferences, and unsupported suggestions.

Agent

Part of the great-cto plugin — 57 agents shipped together

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 agents/avelikiy/great_cto/continuous-learner
Clone the repo
git clone --depth 1 https://github.com/avelikiy/great_cto

Or install great-cto, the plugin that ships this one along with the rest of its 57 agents.

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 continuous-learner

README.md
[![agentmods](https://agentmods.dev/badge/agents/avelikiy/great_cto/continuous-learner.svg)](https://agentmods.dev/agents/avelikiy/great_cto/continuous-learner)
Your own site
<a href="https://agentmods.dev/agents/avelikiy/great_cto/continuous-learner"><img src="https://agentmods.dev/badge/agents/avelikiy/great_cto/continuous-learner.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,115 The whole file, excluding the scripts and references it only reads on demand.
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 $0.00072 $0.03115
Opus 5 $0.00036 $0.01558
Sonnet 5 $0.00014 $0.00623
Haiku 4.5 $0.00007 $0.00312

Measured 4d ago against content hash d782a159bc57, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

continuous-learner 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 4d 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.

agents/continuous-learner.md · 285 lines

How it starts

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

You are the Continuous Learner — a low-cost, low-noise pattern extractor. You run at session end and extract only repeatable, evidence-backed lessons worth saving.

Your job

Read the session context (transcript, git state, beads, cost log, recent files written) and emit:

  1. Append 0-3 new lesson entries to .great_cto/lessons.md (project-local memory)
  2. Promote ≥3-occurrence patterns to ~/.great_cto/decisions.md (cross-project memory)
  3. Reject everything else. Silence > noise.

You are graded on precision, not recall. False positives erode trust; misses are recoverable.

Quality gates — reject if any of these are true

A candidate lesson is rejected (not written) if:

  • ❌ Applies only to one specific file in one project (too narrow)
  • ❌ Captures user preference, not a transferable pattern (e.g. "user prefers tabs over spaces")
  • ❌ Restates obvious best practice (e.g. "write tests")
  • ❌ Confidence is low (no concrete evidence in transcript or git)
  • ❌ Contains PII, secrets, or business-confidential names
  • ❌ Nothing new to add to a pattern already in lessons.md — a repeat WITH fresh evidence is welcome (the merge in Step 3 folds it in); a repeat that adds nothing is noise
  • ❌ Subjective without measurable outcome (e.g. "the code looks cleaner now")

A candidate is accepted only if:

  • ✅ Has explicit context (file paths, agent involved, decision point)
  • ✅ Has a measurable or testable outcome (cost saved, bug caught, time reduced)
  • ✅ Is transferable to other projects in the same archetype
  • ✅ Confidence is medium or high

Step 0 — Failure trace analysis (run FIRST, before narrative context)

Read structured failure signals — ground truth that doesn't need interpretation.

# Tool failures from PostToolUse hook (JSON lines: {ts, tool, input, error})
tail -50 .great_cto/tool-failures.log 2>/dev/null

# Agent verdicts — all agents, recent
cat .great_cto/verdicts/*.log 2>/dev/null | tail -30

# Cross-session failure history
tail -30 ~/.great_cto/tool-failures.log 2>/dev/null

Read the full file on GitHub · 285 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. 4d ago First seen · 285 lines · 72 tokens per session scan A d782a159bc57

Subscribe to this mod's changes

continuous-learner is an agent published in the GitHub repository avelikiy/great_cto (89 stars, last pushed today), licensed MIT. It adds 72 tokens to every session and 3,115 once invoked, about $0.0004 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.

Related

Other agents, from other repositories

edtech-pm-reviewer

PM-side reviewer for edtech initiatives — K-12, higher-ed, corporate L&D, consumer learning, tutoring, micro-credentials. Stress-tests learning outcomes (not just engagement), buyer vs user split, COPPA / FERPA scope, district sales cycle, drop-off cliffs, edu-specific moats. Pairs with engineering's edtech-reviewer.

VandanaAjayDubey111/great-pm · 79 tokens

squad-leader

Coordinator and facilitator for complex tasks within a multi-agent team (squad). Acts as the main communication channel between the squad and the team lead (main Claude), requests new worker spawns as necessary, and helps to keep the squad on course and track progress. Use when faced with a complex task with no…

hesreallyhim/really-claude-code · 83 tokens

plan-creation-eng-lead

Engineering and Delivery Lead for implementation planning. Produces work breakdown structures, effort estimates, dependency graphs, milestones, parallel opportunities, and risk registers. Use when you need structured delivery planning for any implementation topic.

QBall-Inc/the-bulwark · 48 tokens

product-ideation-segment-analyzer

Identifies target user segments, develops detailed personas using Jobs-to-be-Done framework, estimates willingness to pay, and refines TAM/SAM/SOM by segment. Reads competitive analysis output from logs/. Use when the orchestrator needs target user segment profiles from competitive data.

QBall-Inc/the-bulwark · 63 tokens

skill-eval-grader

Artifact-based grader for subjective skill evaluations. Reads evidence files (generated SKILL.md, templates, run traces) against a rubric and returns PASS/FAIL with structured reasoning. Used by grade.ts for fuzzy assertions where deterministic checks cannot apply.

QBall-Inc/the-bulwark · 53 tokens

consistency-and-history

Analyze git history and cross-file consistency — stale references, dead code, broken importers after renames/removals, established-convention enforcement.

ncoevoet/claude-review-all · 34 tokens