Token导航 LogoToken导航

Agent Skill · 开发

anki-card-creator(Anki 卡片创建者)

anki-card-creator 用于整理文档、README、Markdown 和说明材料,适合在 OpenClaw 中需要把零散信息整理成结构清晰的文档时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

anki-card-creator 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 4,988。

总安装 7,174周安装 305GitHub Stars 公开资料未说明下载 2,513核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:anki-card-creator(Anki 卡片创建者)
来源仓库:https://github.com/aipoch-ai/anki-card-creator
安装命令:
openclaw skills install anki-card-creator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install anki-card-creator

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

anki-card-creator 将学习材料自动转换为间隔重复优化的 Anki 卡片。适用于医学教材、讲义等内容的结构化整理与记忆辅助场景。支持多种卡片类型,可在 OpenClaw 中集成以提升学习效率。

安装命令为 openclaw skills install anki-card-creator,需确认 Python 环境支持。使用前请核对数据源格式与输出路径,避免误读写关键文件。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install anki-card-creator;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

anki-card-creator 怎么安装?

在终端执行 openclaw skills install anki-card-creator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

anki-card-creator 支持哪些 AI 工具?

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

anki-card-creator 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

anki-card-creator 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

anki-card-creator 用的人多吗?

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

anki-card-creator 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
anki-card-creator

Anki 卡片创建者 · 本页

7,174—需要联网MIT-0有提醒

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

SKILL.md 原文

name
anki-card-creator
description
Convert medical textbook content, lecture notes, and study materials into
allowed-tools
[Read, Write, Bash, Edit]
license
MIT
metadata
skill-author
AIPOCH

Anki Card Creator

Overview

Intelligent flashcard generation tool that transforms medical study materials into Anki-compatible cards optimized for long-term retention through evidence-based spaced repetition.

Key Capabilities:

  • Multi-Format Input: PDF textbooks, lecture slides, notes, web articles
  • Card Type Selection: Basic, reversible, cloze deletion, image occlusion
  • Spaced Repetition Optimization: Cards formatted for optimal review intervals
  • Automated Tagging: Hierarchical organization by subject and topic
  • Media Integration: Auto-download and embed relevant images
  • Batch Processing: Convert entire chapters or courses efficiently

When to Use

✅ Use this skill when:

  • Preparing for medical board exams (USMLE, MCAT, specialty boards)
  • Memorizing drug names, mechanisms, and side effects
  • Learning anatomy structures and relationships
  • Retaining biochemical pathways and reactions
  • Creating pathology differential diagnosis cards
  • Converting lecture notes to active recall format
  • Building comprehensive review decks from textbooks

❌ Do NOT use when:

  • Learning conceptual understanding → Use textbooks/videos first
  • Memorizing without context → Ensure comprehension before card creation
  • Creating cards for rapidly changing information → Use current resources
  • Substituting clinical experience → Cards supplement, not replace practice
  • Complex procedural skills → Use simulation or hands-on training

Integration:

  • Upstream: abstract-summarizer (textbook chapter condensation), pdf-text-extractor (content extraction)
  • Downstream: anki-sync-server (cloud backup), study-schedule-optimizer (review planning)

Core Capabilities

1. Cloze Deletion Generation

Create fill-in-the-blank cards from dense text:

from scripts.card_creator import AnkiCardCreator

creator = AnkiCardCreator()

# Generate cloze cards from text
text = """
Acute inflammation is characterized by five cardinal signs: 
redness (rubor), heat (calor), swelling (tumor), pain (dolor), 
and loss of function (functio laesa). These result from 
vasodilation, increased vascular permeability, and leukocyte 
infiltration.
"""

cards = creator.create_cloze_cards(
    text=text,
    n_cards=3,  # Generate 3 cards from this text
    difficulty="intermediate",
    tags=["Pathology", "Inflammation", "General_Pathology"]
)

# Output format (Anki-compatible)
# Card 1: "Acute inflammation is characterized by {{c1::five}} cardinal signs..."
# Card 2: "...signs: {{c1::redness}} (rubor), {{c2::heat}} (calor)..."

Cloze Strategies:

StrategyUse CaseExample
Single DeletionKey facts"The {{c1::liver}} is the largest internal organ"
Multiple DeletionsLists/groups"CRAB symptoms: {{c1::Calcium}}, {{c2::Renal}}, {{c3::Anemia}}, {{c4::Bone}}"
HierarchicalProgressive detail"{{c1::Metformin}} is a {{c2::biguanide}} that {{c3::decreases hepatic glucose production}}"

2. Basic and Reversible Cards

Generate question-answer pairs:

# Create basic cards
cards = creator.create_basic_cards(
    content={
        "What is the mechanism of action of penicillin?": 
            "Inhibition of bacterial cell wall synthesis by binding to PBPs",
        "What are the major side effects of ACE inhibitors?":
            "Dry cough, hyperkalemia, angioedema, hypotension"
    },
    reversible=True,  # Create reverse cards too
    tags=["Pharmacology", "Antibiotics"]
)

Card Types:

  • Basic: Question → Answer
  • Reversible: Both directions (Q→A and A→Q)
  • Type-in: Student types answer for active recall
  • Hint Cards: Progressive disclosure with hints

3. Image Occlusion Cards

Create visual learning cards from diagrams:

# Image occlusion for anatomy
cards = creator.create_image_occlusion(
    image_path="brachial_plexus.png",
    occlude_regions=[
        {"label": "Musculocutaneous nerve", "coords": (120, 200, 200, 240)},
        {"label": "Median nerve", "coords": (300, 250, 380, 290)},
        {"label": "Ulnar nerve", "coords": (400, 280, 480, 320)}
    ],
    card_type="one_by_one"  # or "all_at_once"
)

Occlusion Types:

  • One by One: Reveal structures progressively
  • All at Once: Identify all occluded regions
  • Transparent: Hint visible through occlusion
  • Colored: Different colors for different structures

4. Smart Tagging and Organization

Automatically organize cards into logical hierarchies:

# Auto-tag based on content
cards = creator.process_textbook_chapter(
    chapter_text=pathoma_chapter,
    source="Pathoma - Hematopoiesis",
    auto_tag=True,
    tag_hierarchy=[
        "Pathoma",
        "{{chapter_name}}",
        "{{section_name}}"
    ]
)

# Results in tags like:
# Pathoma::Hematopoiesis::Red_Cell_Disorders
# Pathoma::Hematopoiesis::White_Cell_Disorders

Tagging Strategies:

  • Source-based: First Aid, Pathoma, Sketchy
  • Subject-based: Anatomy, Physiology, Pharmacology
  • Exam-based: USMLE_Step1, Step2_CK, Shelf_Exams
  • Difficulty: High_Yield, Medium_Yield, Low_Yield

Common Patterns

Pattern 1: Textbook Chapter Conversion

Scenario: Convert entire First Aid chapter to Anki deck.

# Extract and convert chapter
python scripts/main.py \
  --input first_aid_cardiology.pdf \
  --chapter "Ischemic Heart Disease" \
  --card-type cloze \
  --n-cards-per-page 3 \
  --tags "First_Aid::Cardiology::IHD" \
  --output ischemic_heart_disease.apkg

# Import directly to Anki
# File ready for import with media included

Workflow:

  1. Read chapter for understanding first
  2. Run conversion tool
  3. Review generated cards for accuracy
  4. Import to Anki
  5. Study with standard spaced repetition

Pattern 2: Drug Cards with Images

Scenario: Create comprehensive pharmacology cards.

# Generate drug cards with mechanisms
drugs = [
    {
        "name": "Metformin",
        "class": "Biguanide",
        "mechanism": "Activates AMPK, decreases hepatic gluconeogenesis",
        "indications": "Type 2 diabetes, PCOS",
        "side_effects": "GI upset, lactic acidosis (rare), B12 deficiency",
        "image": "metformin_structure.png"
    }
]

cards = creator.create_drug_cards(
    drugs=drugs,
    include_structures=True,
    include_mechanism_diagrams=True,
    tags=["Pharmacology", "Diabetes", "First_Line"]
)

Card Format:

Front: Metformin - Class?
Back: Biguanide
Tags: Pharmacology::Diabetes::First_Line

Front: Metformin - Mechanism?
Back: Activates AMPK → decreases hepatic gluconeogenesis
Image: [mechanism diagram]
Tags: Pharmacology::Diabetes::Mechanism

Front: Metformin - Side effects?
Back: GI upset, lactic acidosis (rare), B12 deficiency
Tags: Pharmacology::Diabetes::Side_Effects

Pattern 3: Pathology Differential Cards

Scenario: Create cards for differential diagnosis practice.

# Differential diagnosis cards
cards = creator.create_differential_cards(
    condition="Cough with hemoptysis",
    differentials=[
        {"diagnosis": "Lung cancer", "key_features": "Smoker, weight loss, mass on CT"},
        {"diagnosis": "TB", "key_features": "Immigrant, night sweats, cavitary lesion"},
        {"diagnosis": "PE", "key_features": "Sudden onset, tachypnea, D-dimer elevated"},
        {"diagnosis": "Bronchiectasis", "key_features": "Chronic cough, purulent sputum, dilated airways"}
    ],
    card_type="compare_contrast"
)

Card Types:

  • Feature → Diagnosis: "Smoker + hemoptysis + weight loss → ?"
  • Diagnosis → Features: "Lung cancer presentation?"
  • Compare: "Differentiate lung cancer vs TB"

Pattern 4: Lecture Notes to Cards

Scenario: Convert professor's lecture slides to study cards.

# Process lecture PDF
python scripts/main.py \
  --input lecture_slides.pdf \
  --source "Dr_Smith_Cardiology_Lecture_5" \
  --card-type mixed \
  --extract-images \
  --auto-tag \
  --output cardiology_lecture_5.apkg

# Review and edit in Anki
# Delete low-yield cards
# Add personal mnemonics

Post-Processing Tips:

  • Delete obvious or overly simple cards
  • Merge redundant cards
  • Add personal memory hooks
  • Suspend low-yield topics

Complete Workflow Example

Building comprehensive USMLE Step 1 deck:

# Step 1: Process multiple sources
python scripts/main.py \
  --input first_aid_pathology.pdf \
  --source "First_Aid_2024" \
  --card-type cloze \
  --tags "First_Aid::Pathology" \
  --output fa_pathology.apkg

python scripts/main.py \
  --input sketchy_pharm.pdf \
  --source "Sketchy_Pharm" \
  --card-type basic \
  --include-images \
  --tags "Sketchy::Pharm" \
  --output sketchy_pharm.apkg

# Step 2: Merge decks
python scripts/main.py \
  --merge fa_pathology.apkg sketchy_pharm.apkg \
  --output usmle_step1_master.apkg

# Step 3: Add leech tags for difficult cards
python scripts/main.py \
  --input usmle_step1_master.apkg \
  --tag-leeches \
  --leech-threshold 8 \
  --output usmle_step1_tagged.apkg

Python API:

from scripts.card_creator import AnkiCardCreator
from scripts.importers import PDFImporter

# Initialize
creator = AnkiCardCreator()
importer = PDFImporter()

# Import and process textbook
content = importer.import_pdf(
    path="robbins_pathologic_basis_of_disease.pdf",
    pages="150-200",  # Inflammation chapter
    extract_images=True
)

# Create cloze cards
cards = creator.create_cloze_cards(
    text=content.text,
    images=content.images,
    n_cards=50,
    difficulty="advanced",
    tags=["Robbins", "General_Pathology", "Inflammation"]
)

# Add image occlusion for diagrams
for diagram in content.diagrams:
    occlusion_cards = creator.create_image_occlusion(
        image=diagram,
        auto_detect_labels=True
    )
    cards.extend(occlusion_cards)

# Export Anki package
creator.export_apkg(
    cards=cards,
    deck_name="Robbins_Inflammation",
    output_path="robbins_inflammation.apkg"
)

print(f"Created {len(cards)} cards ready for Anki import")

Quality Checklist

Card Quality:

  • [ ] One fact per card (atomicity)
  • [ ] Clear, unambiguous questions
  • [ ] Answers specific and complete
  • [ ] Cloze deletions don't give away answer
  • [ ] Images high resolution and relevant
  • [ ] Tags hierarchical and consistent

Educational Value:

  • [ ] Cards test high-yield information
  • [ ] Difficulty appropriate for level
  • [ ] Connections between related concepts
  • [ ] Clinical context included where relevant
  • [ ] No duplicate or near-duplicate cards

Technical Quality:

  • [ ] Valid Anki format (import tested)
  • [ ] Media files properly linked
  • [ ] UTF-8 encoding for special characters
  • [ ] CSS styling readable on mobile
  • [ ] Card types appropriate for content

Before Study:

  • [ ] CRITICAL: Review cards for accuracy
  • [ ] CRITICAL: Delete cards for mastered material
  • [ ] Personalize with own mnemonics
  • [ ] Adjust card order if needed
  • [ ] Set appropriate daily review limits

Common Pitfalls

Content Issues:

  • ❌ Too much information → "Cramming" cards with multiple facts

- ✅ One concept per card; break complex topics into multiple cards

  • ❌ Memorization without understanding → Memorizing without context

- ✅ Include "why" and clinical significance

  • ❌ Outdated information → Old guidelines or disproven theories

- ✅ Verify against current textbooks and guidelines

Card Design Issues:

  • ❌ Ambiguous clozes → "The {{c1::liver}} produces {{c2::bile}}" (which one is being asked?)

- ✅ Clear question: "The liver produces ?" or "What organ produces bile?"

  • ❌ Overlapping cards → Testing same fact multiple ways

- ✅ Merge redundant cards; each fact tested once optimally

  • ❌ Recognition vs. recall → Cards too easy (recognition only)

- ✅ Use cloze deletions and type-in cards for active recall

Study Strategy Issues:

  • ❌ Too many new cards → 100+ new cards/day leads to burnout

- ✅ Sustainable pace: 20-30 new cards/day

  • ❌ No review of missed cards → Ignoring leeches

- ✅ Tag and review difficult cards separately

  • ❌ Passive card creation → Making cards without studying

- ✅ Create cards for immediate use; don't build massive backlog

References

Available in references/ directory:

  • anki_format_spec.md - Anki .apkg file format specifications
  • spaced_repetition_principles.md - Evidence-based SRS guidelines
  • card_design_best_practices.md - Effective flashcard design
  • usmle_high_yield_facts.md - High-yield content for boards
  • image_sources.md - Open-access medical images
  • tagging_conventions.md - Standardized tag hierarchies

Scripts

Located in scripts/ directory:

  • main.py - CLI interface for card creation
  • card_creator.py - Core card generation engine
  • cloze_generator.py - Cloze deletion algorithms
  • image_occlusion.py - Visual card creation
  • pdf_importer.py - Textbook and slide import
  • tag_manager.py - Automated tagging system
  • media_handler.py - Image download and optimization
  • anki_exporter.py - .apkg file generation

Limitations

  • Context Dependency: May miss nuanced explanations without full context
  • Image Licensing: Must verify copyright for extracted images
  • Complex Diagrams: Simple occlusion may not capture complex relationships
  • Personalization: Generic cards lack personal memory hooks
  • Volume Control: Easy to create too many cards; requires curation
  • Active Learning: Cards supplement but don't replace active problem-solving

Parameters

ParameterTypeDefaultRequiredDescription
--input, -istring-NoInput text file with Q&A pairs
--output, -ostringanki_cards.txtNoOutput file (Anki TSV format)
--drugflag-NoCreate drug information card
--anatomyflag-NoCreate anatomy card
--namestring-NoDrug or structure name
--mechanismstring-NoMechanism of action (for drug cards)
--indicationsstring-NoClinical indications (for drug cards)
--side-effectsstring-NoSide effects (for drug cards)
--locationstring-NoAnatomical location (for anatomy cards)
--functionstring-NoFunction (for anatomy cards)

Usage

Basic Usage

# Create drug card
python scripts/main.py --drug --name "Metformin" --mechanism "Decreases hepatic glucose production" --indications "Type 2 diabetes" --output metformin.txt

# Create anatomy card
python scripts/main.py --anatomy --name "Coronary arteries" --location "Surface of heart" --function "Supply oxygenated blood to myocardium" --output coronary.txt

# Parse Q&A file
python scripts/main.py --input questions.txt --output deck.txt

Input File Format

Q: What is the mechanism of action of Metformin?
A: Decreases hepatic glucose production, increases insulin sensitivity

Q: Which artery supplies the left ventricle?
A: Left anterior descending artery (LAD)

Risk Assessment

Risk IndicatorAssessmentLevel
Code ExecutionPython script executed locallyLow
Network AccessNo external API callsLow
File System AccessRead input file, write to output fileLow
Instruction TamperingStandard prompt guidelinesLow
Data ExposureOutput saved only to specified locationLow

Security Checklist

  • [x] No hardcoded credentials or API keys
  • [x] No unauthorized file system access
  • [x] Output does not expose sensitive information
  • [x] Prompt injection protections in place
  • [x] Input validation for file paths
  • [x] Output directory restricted to workspace
  • [x] Script execution in sandboxed environment

Prerequisites

# Python 3.7+
# No additional packages required (uses standard library)

Evaluation Criteria

Success Metrics

  • [x] Successfully creates Anki-compatible TSV files
  • [x] Supports drug and anatomy card types
  • [x] Parses Q&A files correctly
  • [x] Generates valid HTML formatting

Test Cases

  1. Drug Card: Create Metformin card → Valid TSV output with formatted front/back
  2. Anatomy Card: Create coronary artery card → Valid TSV with location and function
  3. File Parse: Parse Q&A text file → Multiple cards generated

Lifecycle Status

  • Current Stage: Draft
  • Next Review Date: 2026-03-06
  • Known Issues: None
  • Planned Improvements:

- Add Cloze deletion support - Support image inclusion - Add .apkg export format


🧠 Study Tip: The best flashcard is one you'll actually review. Create cards for material you genuinely need to memorize, and keep the daily review load sustainable. Quality over quantity—better to deeply learn 1000 cards than superficially memorize 5000.

平台分布

OpenClaw

90.67%
按下载量换算2,279

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills