Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / anki

anki

Review your AnkiWeb decks above the Claude Code prompt while Claude works. Syncs straight with AnkiWeb through Anki's own Rust core; no Anki desktop or AnkiConnect needed.

Code you can checkTerminal + desktopBandToastBoxButtonText
runs programs, draws

What it does

  • Draws a band above the prompt, toasts
  • Adds /anki
  • Hooks session.end, session.start, turn.complete, turn.start
  • Keeps its own state between turns
  • Starts processes

Good points

  • No network calls
  • Written in TypeScript
  • Handles errors
  • Writes no files

Code to start from

A starter ModsCode writes from the drawing it read, and the mod's own lines that draw, where there are any.

Starter (register.tsx)

register.tsx
import type { Register } from 'claude-code'

// Drawn like anki by hbkse (band, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/hbkse-anki/
// Written by ModsCode from that reading, not copied from the mod: use it as you like.
// Each value below stands for one the mod works out at run time; put in your own.
export const register: Register = on => {
  // the band above the prompt; what else goes there is drawn under it
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const title = '…'
    const tally = '…'
    const lead = '…'
    const chunk = '…'
    const chunk2 = '…'
    const chunk3 = '…'
    const chunk4 = '…'
    const chunk5 = '…'
    const chunk6 = '…'
    const chunk7 = '…'
    const chunk8 = '…'
    const chunk9 = '…'
    const lead2 = '…'
    const chunk10 = '…'
    const chunk11 = '…'
    const chunk12 = '…'
    const chunk13 = '…'
    const chunk14 = '…'
    const chunk15 = '…'
    const chunk16 = '…'
    const chunk17 = '…'
    const chunk18 = '…'
    const lead3 = '…'
    const chunk19 = '…'
    const chunk20 = '…'
    const chunk21 = '…'
    const chunk22 = '…'
    const chunk23 = '…'
    const chunk24 = '…'
    const chunk25 = '…'
    const chunk26 = '…'
    const chunk27 = '…'
    const lead4 = '…'
    const chunk28 = '…'
    const chunk29 = '…'
    const chunk30 = '…'
    const chunk31 = '…'
    const chunk32 = '…'
    const chunk33 = '…'
    const chunk34 = '…'
    const chunk35 = '…'
    const chunk36 = '…'
    const lead5 = '…'
    const chunk37 = '…'
    const chunk38 = '…'
    const chunk39 = '…'
    const chunk40 = '…'
    const chunk41 = '…'
    const chunk42 = '…'
    const chunk43 = '…'
    const chunk44 = '…'
    const chunk45 = '…'
    const lead6 = '…'
    const chunk46 = '…'
    const chunk47 = '…'
    const chunk48 = '…'
    const chunk49 = '…'
    const chunk50 = '…'
    const chunk51 = '…'
    const chunk52 = '…'
    const chunk53 = '…'
    const chunk54 = '…'
    const key = '…'
    const name = '…'
    return (
      <Box flexDirection="column" borderStyle="round" borderColor="cyan" paddingX={1}>
        <Box justifyContent="space-between">
          <Text color="cyan" bold>
            {title}
          </Text>
          <Text dimColor>
            {tally}
          </Text>
        </Box>
        <Box flexDirection="column">
          <Box flexDirection="row" flexWrap="wrap">
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {lead}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk2}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk3}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk4}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk5}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk6}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk7}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk8}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk9}
              </Text>
            </Box>
          </Box>
          <Box flexDirection="row" flexWrap="wrap">
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {lead2}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk10}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk11}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk12}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk13}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk14}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk15}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk16}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk17}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk18}
              </Text>
            </Box>
          </Box>
          <Box flexDirection="row" flexWrap="wrap">
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {lead3}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk19}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk20}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk21}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk22}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk23}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk24}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk25}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk26}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk27}
              </Text>
            </Box>
          </Box>
        </Box>
        <Box flexDirection="column">
          <Box flexDirection="row" flexWrap="wrap">
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {lead4}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk28}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk29}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk30}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk31}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk32}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk33}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk34}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk35}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk36}
              </Text>
            </Box>
          </Box>
          <Box flexDirection="row" flexWrap="wrap">
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {lead5}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk37}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk38}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk39}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk40}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk41}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk42}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk43}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk44}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk45}
              </Text>
            </Box>
          </Box>
          <Box flexDirection="row" flexWrap="wrap">
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {lead6}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk46}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk47}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk48}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk49}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk50}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk51}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk52}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk53}
              </Text>
            </Box>
            <Box flexDirection="column">
              <Text>
                {" "}
              </Text>
              <Text>
                {chunk54}
              </Text>
            </Box>
          </Box>
        </Box>
        <Box gap={2}>
          <Button hotkey={`${key}`} plain label={`${name}`} />
          <Button hotkey={`${key}`} plain label={`${name}`} />
          <Button hotkey={`${key}`} plain label={`${name}`} />
          <Button hotkey="5" plain label="undo" />
          <Button hotkey="0" plain label="decks" />
        </Box>
        {await next(e)}
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    const ankiwebSays = '…'
    await $.ui.toast(`Logged in to AnkiWeb and synced.${ankiwebSays}`)
    await $.ui.toast(`AnkiWeb needs a one-way sync: /anki download (take AnkiWeb's copy) or /anki upload (replace it with this one).`)
    return next(e)
  })
}

The mod's own code

Its licence text was not found at the commit read, so only the places in the source are linked.

How to build this: Band above the prompt, Add a slash command

What its code calls

runs programsenv varsremembers

What its code shows

Read from the source at commit 8d78425ffb8c on 2026-10-11. The first group decides whether a mod is listed; the rest is for you to weigh. A later commit is not read until the next crawl.

Decides the listing: code you can check
Entry readEvery module hooks/hooks.json names was read.hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.1 files parsed
All its code is in the modEvery import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod
ReadableNo minified lines, no eval or new Function, no import of a computed path, no encoded blobs.no minified code, no eval, no encoded blobs
Calls in the openNetwork and programs are reached as $.http.fetch and $.process.run in place, never passed around.every call outside goes through $ in the open
For you to weigh before installing
Where it drawsThe terminal, the desktop app, both, or nothing (hooks only: a guard or a prompt rewriter), as its code says. Shown, never a reason to leave a mod out.draws in the terminal and the desktop app, the same in both
Install lineWhether its repository's own .claude-plugin/marketplace.json lists it, so it installs from that marketplace with the lines on its page.its repository's .claude-plugin/marketplace.json does not list it: no marketplace line to give; the page shows how to try the commit read
Programs on WindowsWhether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).hooks/register.tsx:414 uname (not on Windows)
NetworkWhether every fetch names its https host in the code.no network
ProgramsWhether every program it starts is named in the code and is not a shell, an interpreter or a network tool.hooks/register.tsx:112 a program named at run time; hooks/register.tsx:441 a program named at run time; hooks/register.tsx:451 a program named at run time
Reads and sendsWhether it both reads something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reads environment variables, but reaches nothing outside
Keys in the sourceWhether the source holds what looks like an API key or a private key.no keys in the source
LicenceAn open licence (MIT, Apache-2.0, BSD, ISC, Unlicense, 0BSD, CC0) with its text lets ModsCode show its code; otherwise the code is linked.AGPL-3.0 (not an open licence)
Settings hooksHooks declared in hooks/hooks.json or plugin.json beside the module: a command (a shell when it has no args), an HTTP request, an MCP tool or a model prompt at an event. They run outside $.no settings hooks: its function hooks alone
Servers it shipsMCP servers (a program, or a URL; a headersHelper is a shell command; a .mcpb bundle is unpacked at run time), LSP servers, monitors (a shell command for the whole session) and bin/ (on the PATH of the Bash tool).ships no MCP or LSP server, no monitor, no bin/
Skills, commands, agentsWhat its Markdown declares beyond text: allowed-tools granted for the turn, hooks added when a skill is invoked, a command run before Claude reads the skill.no skills, commands, agents or workflows
Tools and MCPWhether every tool it calls through $.tool.call and $.mcp.call is named in the code, and none is a shell (Bash through the tool runs a shell without $.process).calls no tool, MCP server or command
Asks of the modelCompletions it runs ($.model.complete, fork, classify), subagents it spawns, prompts it submits as you, and the tools, commands and agents it adds.asks nothing of the model
Events it hooksBy what a hook there can do: gates (refuse a tool call, a prompt, a setting, another plugin), shapes (what the model reads: the system prompt, tool descriptions, each request), reads (your input, the events of the settings hooks, every event with *), and the rest.gates: command.run (anki) · also: session.start, turn.start, turn.complete, session.end (+1)
Reads, by nameThe environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.env: OS, TMUX, ZELLIJ, TERM_PROGRAM, KITTY_WINDOW_ID (+4)
Writes, by nameThe files and environment variables it names, and whether it changes settings, the prompt box, the clipboard, the conversation (a row the model reads) or another session.writes no files, environment variables, settings or conversation rows

This is a reading of the code text, not a security review: it does not run the mod, and it cannot see what a program the mod starts does. The check before installing is yours. How mods are chosen

Install it

Check it yourself before you install it. Mods run unsandboxed, with your permissions, and ModsCode does not vouch for what this code does. Read its code (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.

Its repository's .claude-plugin/marketplace.json does not list it, so there is no marketplace line to give.

Try the commit ModsCode read

No marketplace needed. In a terminal, clone the repository, check out the commit read, validate the mod, and load it for one session:

git clone https://github.com/hbkse/anki-claude-mod
git -C anki-claude-mod checkout 8d78425ffb8c82917d4f250b60fedc0d57c3e1b5
claude plugin validate anki-claude-mod
claude --plugin-dir anki-claude-mod

The validate line lists the events the mod hooks and what it asks Claude Code to do, without running it. The last line loads the mod for this session only and writes nothing to your settings. If the author has rewritten history, the commit may no longer exist.

Ask Claude about it

With the ModsCode connector added, Claude can read this mod's code and what it reaches, and build on them. Ask it like this:

Read the ModsCode mod "hbkse-anki" with its code and make me one like it

Search them from Claude: the MCP connector

Similar mods

Badge for your README

If this is your mod, paste this into your README. It links to this page.

README.md
[![ModsCode](https://modscode.com/badge/hbkse-anki.svg)](https://modscode.com/claude-mods/mods/hbkse-anki/)