agentleFS
MarcSkyMarcSky/loanword/skills/ticker/SKILL.md

ticker

Skill5 starsChanged 53 days agoMITView on GitHub

A vocabulary widget inside Claude Code — one card at a time in the status line under the prompt, the weakest words of the open deck, a new one every few seconds, so a working session teaches you words while you work. Use when the user asks for words in the status line, a vocabulary ticker, or to turn it off.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read ~/.claude/settings.json (create {} if missing).

    line 33
  2. Very specific:

    If a statusLine.command already exists, offer to chain it instead of replacing it, and remember the previous command in …

    line 45

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/loanword:ticker — a card in the status line

Claude Code's status line re-runs a command every refreshInterval seconds and prints its first line under the prompt. Loanword has a command that prints one card from the open deck's snapshot — weakest first, cycling on a fixed clock, never opening the database:

node "${CLAUDE_PLUGIN_ROOT}/scripts/peek.mjs" --line

How long a word stays is the tickerEvery setting (seconds, 5…300, default 30), changed in the trainer's Settings or with ticker_every in the plugin options. --interval=N on the command line overrides it; leave the flag off so the setting rules. The status line cannot redraw faster than its own refreshInterval, so keep that at or below tickerEvery.

It prints Loanword · front — back · reading · 63% (or · new, · leech), or an empty line when there is nothing to show. --pick= narrows it like the peek setting (starred,slipping,B2).

Turning it on

  1. Resolve ${CLAUDE_PLUGIN_ROOT} to an absolute path now — settings.json does not substitute variables.
  2. Read ~/.claude/settings.json (create {} if missing). Ask the user once, in one line, before writing to it.
  3. Merge — never overwrite other keys:
"statusLine": {
  "type": "command",
  "command": "node <absolute plugin root>/scripts/peek.mjs --line",
  "refreshInterval": 10
}

If a statusLine.command already exists, offer to chain it instead of replacing it, and remember the previous command in statusLine.loanwordPrevious:

"command": "<existing command> | tr -d '\n'; printf ' · '; node <absolute plugin root>/scripts/peek.mjs --line"

/loanword:ticker 30 writes 30 into tickerEvery (PATCH the trainer's settings, or edit settings.json beside the deck) and sets refreshInterval to the same number. The minimum Claude Code accepts is 1.

Turning it off

/loanword:ticker off removes the statusLine key Loanword added. If loanwordPrevious is present, restore that command instead of removing the key. Say in one line what was restored.

Nothing here spends a model call: the line comes from the snapshot the trainer already writes after every commit.

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.