Token导航 LogoToken导航

Agent Skill · 研究检索

anki(anki 开发)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

anki 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 35,130。

总安装 2,136周安装 89GitHub Stars 20下载 712核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:anki(anki 开发)
来源仓库:https://github.com/terkelg/anki-markdown
仓库路径:skills/anki
安装命令:
npx skills add https://github.com/terkelg/anki-markdown --skill anki
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/terkelg/anki-markdown --skill anki

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助文档、Markdown 和内容稿件的整理与改写。可提炼结构、补齐章节或检查链接,提升文档质量。保留项目已有事实和命令,不将未确认信息写成确定结论。对外文案需注意语气,避免过度营销或夸大能力。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

anki 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/anki

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/terkelg/anki-markdown --skill anki;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

anki 怎么安装?

在终端执行 npx skills add https://github.com/terkelg/anki-markdown --skill anki。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

anki 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

anki 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

anki 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

anki 用的人多吗?

公开数据是累计安装 2,136 次,近一周安装 89 次,下载 712 次,GitHub 20 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

anki 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
anki

anki 开发 · 本页

2,13620只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Anki Flashcard Management

Use the anki.sh script to create and manage flashcards via AnkiConnect.

ANKI="$(dirname "$SKILL_PATH")/scripts/anki.sh"

Preflight:

  • Ensure Anki desktop is running with AnkiConnect enabled
  • Ensure curl and jq are available in PATH

CRITICAL: User Approval Required

NEVER add cards to Anki without explicit user approval.

Before adding any cards:

  1. Display all proposed cards in full (front + back)
  2. Ask user to confirm: "Ready to add these cards?"
  3. Only proceed after explicit "yes" / approval

This is non-negotiable. Users must review card quality before adding.

For potentially destructive or irreversible actions:

  • delete: ask explicit confirmation before deleting notes
  • update: confirm exact fields/IDs before updating notes
  • rate: show card + suggested rating, then wait for user confirmation before submitting

Guidelines

  • MUST use the Anki Markdown note type for basic cards or Anki Markdown Cloze for cloze deletions
  • Use markdown for both front and back fields
  • Test exactly one fact or idea per card
  • Make questions atomic and simple
  • Keep questions and answers short, clear, and unambiguous
  • Ensure each card has one unique, specific answer
  • Avoid long lists or multiple items in one card
  • Add context or hints so your future self understands
  • Personalize with examples or mnemonics if helpful
  • Allow multiple simple cards for important concepts
  • Create multiple variants of important questions from different angles
  • Connect cards to personal goals and projects to avoid "orphan" facts
  • Always use syntax highlighting for code (see Code Snippets section)
  • When creating multiple related cards, use bulk operations for efficiency

Choosing Card Type

Use Anki Markdown (Front/Back) for question-answer pairs where you write a specific question. Use Anki Markdown Cloze (Text/Extra) for fill-in-the-blank cards where hiding parts of a statement is more natural than writing a question.

Cloze Cards

Use Anki Markdown Cloze for fill-in-the-blank cards. Fields are Text and Extra.

Syntax

Three forms:

  • {{c1::answer}} - shows [...] on front
  • {{c1::answer::hint}} - shows [hint] on front
  • {{c1::answer::blur}} - shows blurred content on front (reveals shape but not text)

Full markdown works inside cloze deletions: bold, italic, highlights, inline code with language tags, links, images, code blocks, and tables.

Multiple Cards

Each cloze number (c1, c2, c3...) generates a separate card. Use different numbers to test different facts from the same note:

{"Text": "{{c1::HTML}} provides structure, {{c2::CSS}} provides style."}

This produces 2 cards. Card 1 hides "HTML", card 2 hides "CSS".

Using the same number multiple times hides all instances on the same card:

{"Text": "{{c1::React}} and {{c1::Vue}} are frontend frameworks."}

This produces 1 card that hides both "React" and "Vue".

Nested Cloze

Cloze deletions can be nested. The outer cloze hides everything including the inner:

{"Text": "{{c1::Canberra was {{c2::founded}}}} in 1913."}

Card 1 hides "Canberra was founded". Card 2 only hides "founded".

Inline Code in Cloze

Inline code with language tags works inside cloze. Note the triple closing braces (}}}) when code uses {lang} syntax:

{"Text": "Use {{c1::`querySelector()`{js}}} to find DOM elements."}

Extra Field

The Extra field appears on the back of every card. Use it for context, examples, or references. It supports full markdown including code blocks and callouts.

Cloze Examples

# Basic cloze
$ANKI add "MyDeck" "Anki Markdown Cloze" '{"Text":"The {{c1::CPU}} executes {{c2::instructions}}.","Extra":"Basic computer architecture."}' --tags "cs"

# Cloze with hint
$ANKI add "MyDeck" "Anki Markdown Cloze" '{"Text":"{{c1::JavaScript::language}} was created in {{c2::1995::year}}.","Extra":"Created by Brendan Eich."}' --tags "history"

# Cloze with blur
$ANKI add "MyDeck" "Anki Markdown Cloze" '{"Text":"The speed of light is {{c1::299,792,458 m/s::blur}}.","Extra":"Often approximated as 3 x 10^8 m/s."}' --tags "physics"

Front Field Format

Use markdown on the front to highlight key terms the question is about:

  • Use bold or ==highlight== for the main concept being tested
  • Use inline code for technical terms, functions, or syntax

Example: What does **vertex_index** return in WGSL?

Back Field Format

Use this format for the Back field:

  1. Bold one-liner with the direct answer
  2. Blank line
  3. Additional context in normal text (optional)

Formatting for Fast Skimming

  • Use ==highlighted== to make key terms stand out at a glance
  • Use bold for critical concepts within explanations
  • Use syntax highlighting for all code blocks including inline
  • Optimize for quick visual scanning—readers should grasp the core idea instantly

Keyboard Shortcuts

Use <kbd> tags for keyboard keys:

Press <kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> to open the command palette.

Code Snippets

Always use syntax highlighting:

  • Fenced blocks: Use triple backticks with language (js,python, ```rust, etc.)
  • Inline code: Use ` code{lang} syntax (e.g., const x = 1{js} `)

Advanced features:

  • Line highlighting: ```js {2} to highlight line 2
  • Word highlighting: ```js /pattern/ to highlight specific words
  • Focus mode: Add // [!code focus] comment to focus specific lines

Callouts

Use GitHub-style alerts sparingly for important notes:

> [!TIP]
> Brief helpful insight here.

> [!NOTE]
> Useful context the learner should know.

> [!WARNING]
> Common mistake or gotcha to avoid.

Example

Front: What does `passEncoder.draw(3)`{js} do with **no vertex buffer**?
Back:

**Invokes the ==vertex shader== 3 times.**

The shader uses `@builtin(vertex_index)`{wgsl} to generate positions ==procedurally==.

> [!TIP]
> Useful for fullscreen quads without geometry data.

Common Operations

Run via $ANKI <action> [args...]:

ActionDescriptionExample
syncTrigger AnkiWeb sync$ANKI sync
decksList decks$ANKI decks --stats
modelsList note types$ANKI models
fieldsFields for a model$ANKI fields "Anki Markdown"
findSearch notes$ANKI find "deck:Spanish tag:verb"
infoNote details$ANKI info 1234 5678
addAdd one note$ANKI add "My Deck" "Anki Markdown" '{"Front":"Q","Back":"A"}' --tags "t1 t2"
add-bulkAdd many notes$ANKI add-bulk "My Deck" "Anki Markdown" '[{"Front":"Q1","Back":"A1"}]'
updateUpdate fields$ANKI update 1234 '{"Front":"New Q"}'
deleteDelete notes$ANKI delete 1234 5678
dueGet due cards$ANKI due "My Deck" --limit 5
reviewShow card$ANKI review 1234
rateRate card (1-4)$ANKI rate 1234 3
tagsList tags$ANKI tags --pattern "verb"

Typical workflow

$ANKI sync                          # sync first
$ANKI decks                         # check available decks
$ANKI models                        # verify required model exists
$ANKI fields "Anki Markdown"        # verify field names for selected model
$ANKI find "deck:MyDeck front:test" # check for duplicates
$ANKI add "MyDeck" "Anki Markdown" '{"Front":"...","Back":"..."}'
$ANKI sync                          # sync after changes

平台分布

Codex

37.19%
按下载量换算265

Claude

31.92%
按下载量换算227

Cursor

19.04%
按下载量换算136

Gemini CLI

8.47%
按下载量换算60

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills