Token导航 LogoToken导航TokenDH.com
开发操作浏览器github未标认证来源可访问许可证需确认审计提醒

flashcard-creator抽认卡创建者

Agent Skill

flashcard-creator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

470

周安装

19

GitHub Stars

公开资料未说明

下载量

147
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/blazewicz/claude-flashcards --skill flashcard-creator

简介

flashcard-creator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Flashcard Creator

Overview

This Skill extracts language learning content from web pages and converts it into structured flashcards optimized for spaced repetition software like Anki. Works with any language (Spanish, Japanese, Arabic, Chinese, etc.) and adapts to different writing systems and grammar structures. Creates multiple card types (grammar rules, drills, translations, Q&A) from a single source to maximize repetition value.

Prerequisites

  • Browser must be open with Claude in Chrome extension active
  • Target page should contain structured learning content (grammar lessons, vocabulary, exercises)
  • Python script parse_flashcards.py available in the project root for Anki conversion

⚠️ CRITICAL: Markdown Format Requirements

THE PYTHON PARSER DEPENDS ON EXACT KEYWORD MATCHING. YOU MUST USE THIS FORMAT:

**Front:** Question, prompt, or term here
**Back:** Answer, explanation, or definition here

Strict Requirements:

  1. Use **Front:** exactly - with bold markdown (**) and colon
  2. Use **Back:** exactly - with bold markdown (**) and colon
  3. Front and Back must be on separate, consecutive lines
  4. Both keywords are case-sensitive
  5. Include the space after the colon

DO NOT USE:

  • Front: (without bold)
  • Question: or Q:
  • **Front**: (bold without the colon inside)
  • **Front:** (space before colon)
  • ❌ Any other variations

Why This Matters: The Python parser (parse_flashcards.py) uses this code:

if line.startswith('**Front:**'):
    front = line.replace('**Front:**', '').strip()

Any deviation from this exact format will cause cards to be silently skipped during parsing.

Example Block (Correct Format)

## Grammar Rules

**Front:** Cuando + presente de subjuntivo (futuro)
**Back:** Cuando me jubile, me iré a vivir a la costa.

**Front:** antes de que + presente de subjuntivo
**Back:** Los pájaros emigran a lugares más cálidos antes de que empiece el invierno.

## Fill-in-the-Blank Exercises

**Front:** Cuando _____ (tener - yo) vacaciones, _____ (soler) viajar a destinos exóticos.
**Back:** Cuando tengo vacaciones, suelo viajar a destinos exóticos.

Instructions

Step 1: Access the Web Content

  1. Use tabs_context_mcp to get available tabs
  2. Use read_page or get_page_text to extract content from the current page
  3. Take a screenshot if visual context would be helpful

Step 2: Analyze Content Structure

Identify these elements on the page:

  • Grammar rules (with examples in different tenses/moods)
  • Vocabulary lists (with definitions, translations, or context)
  • Example sentences (showing usage patterns)
  • Exercises (fill-in-blank, translation, matching)
  • Explanations (rules, tips, memory aids)

Step 3: Extract and Structure Content

Create flashcards organized by category using markdown headers (##, ###).

Recommended categories (adapt based on language type):

  • Grammar Patterns/Rules (word order, particles, connectors, etc.)
  • Application Exercises (fill-in-the-blank, sentence building, etc.)
  • Vocabulary (with definitions, translations, or usage context)
  • Translation Practice (bidirectional)
  • Quick Reference Q&A (grammar/usage rules)
  • Common Mistakes/Corrections
  • Memory Aids (mnemonics for grammar patterns)

Note: For inflected languages (Spanish, Russian, Arabic), add "Conjugation/Declension Drills". For tonal languages (Mandarin, Vietnamese), add "Tone Practice". For character-based writing (Japanese, Chinese), add "Character Recognition".

Categories to AVOID:

  • ❌ Story/plot summaries (unless the vocabulary/structures themselves are the learning goal)
  • ❌ Cultural trivia or facts (unless they illustrate language usage)
  • ❌ Topic-specific knowledge unrelated to language (e.g., historical dates, scientific facts)
  • ❌ Author information or website metadata

Step 4: Create Multiple Card Types for Maximum Repetition

For each grammar concept or vocabulary item, create multiple card types. Adapt to your target language.

Example 1: Spanish Grammar (Inflected Language)

  1. Rule Card - Present the grammar pattern **Front:** Cuando + presente de subjuntivo (futuro) **Back:** Cuando me jubile, me iré a vivir a la costa.
  2. Fill-in-blank Card - Test conjugation/application **Front:** Cuando _____ (jubilarse - yo), me _____ (ir) a vivir a la costa. **Back:** Cuando me jubile, me iré a vivir a la costa.
  3. Translation Card - Apply in context **Front:** When I retire, I will go live on the coast. **Back:** Cuando me jubile, me iré a vivir a la costa.
  4. Quick Reference Card - Test rule knowledge **Front:** ¿Cómo se expresa el futuro con "cuando"? **Back:** Cuando + presente de subjuntivo

Example 2: Japanese Vocabulary (Logographic + Syllabic)

  1. Recognition Card **Front:** 食べる **Back:** たべる (taberu) - to eat [ru-verb]
  2. Production Card **Front:** How do you write "to eat" (ru-verb)? **Back:** 食べる (たべる / taberu)
  3. Context Card **Front:** 私は寿司を_____ (I ___ sushi) **Back:** 私は寿司を食べる (I eat sushi)

Example 3: Arabic Grammar (Root-Pattern System)

  1. Root Card **Front:** What is the root of كَتَبَ (kataba - "he wrote")? **Back:** ك-ت-ب (k-t-b) - root meaning "writing"
  2. Pattern Card **Front:** Form I past tense of root ك-ت-ب with "he" **Back:** كَتَبَ (kataba) - he wrote

Step 5: Apply Language Learning Best Practices

For Grammar:

  • Show the pattern in multiple contexts
  • Include both affirmative and negative forms (if applicable)
  • Show edge cases and exceptions
  • Create "common mistakes" correction cards

For Vocabulary:

  • Include context sentences, not just definitions
  • Show collocations and usage patterns
  • Group semantically related words
  • Note register (formal/informal) when relevant

For Language-Specific Features:

  • Inflected languages (Spanish, Russian, Arabic): Test conjugations/declensions across persons, tenses, cases
  • Tonal languages (Mandarin, Vietnamese): Include tone marks and minimal pairs
  • Character-based (Japanese, Chinese): Create recognition cards (character → reading/meaning)
  • Agglutinative languages (Turkish, Finnish): Practice suffix combinations
  • Analytic languages (English, Chinese grammar): Focus on word order and particles

For Application Drills:

  • Use fill-in-the-blank format with hints (infinitive, tone, character reading, etc.)
  • Progress from easier to harder
  • Mix different concepts in later sections

Step 6: Verify Quality

Before finalizing, verify:

  • All cards use **Front:** and **Back:** format exactly
  • Front and Back are on consecutive lines
  • Content is in logical categories with headers
  • Grammar rules are accurate
  • Examples show proper usage patterns
  • Fill-in-blank exercises include appropriate hints (verb infinitives, tone marks, readings, etc.)
  • Progressive difficulty (basic → advanced)
  • Mix of card types (rules, drills, translation, Q&A)
  • Special characters are correct (accents, tone marks, diacritics, etc. appropriate for the language)
  • At least 50+ cards for a comprehensive topic

Step 7: Save Output File

  • Use descriptive names: <topic>.md
  • Write to flashcards/ directory
  • Include a header with title and description
  • Include the URL of the source page
  • Add a study strategy section at the end

Step 8: Convert to Anki Format (REQUIRED)

CRITICAL: This step is NOT optional. You MUST complete it automatically.

After creating the markdown file:

  1. Immediately run the conversion script: python3 parse_flashcards.py flashcards/<filename>.md

- Do NOT just tell the user to run it - RUN IT YOURSELF - This is a required step to complete the task

  1. Verify the output: wc -l flashcards/<filename>.txt

- Check that cards were created successfully

Why this matters: The user expects a complete, ready-to-use Anki deck file. Creating only the markdown file is incomplete work. Always finish the conversion.

Step 9: Report Results to the User

After successfully converting to Anki format, inform the user:

  1. Files created:

- Markdown source: flashcards/<filename>.md - Anki deck file: flashcards/<filename>.txt with [X] flashcards

  1. Next steps:

- Ready to import: The .txt file can be imported directly into Anki - Optional grammar check: "To verify grammar, ask a subagent to review the markdown file"

Content Extraction Strategy

⚠️ CRITICAL: Focus on LANGUAGE, Not Content

Extract ONLY reusable language elements: grammar, vocabulary, and usage patterns.

Ask yourself: "Will this card help me use the language, or just remember facts ABOUT the content?"

DO extract:

  • Grammar patterns and rules
  • Vocabulary with translations/definitions
  • Usage examples and collocations
  • Language-specific conventions (formality levels, register, etc.)

DON'T extract:

  • Plot summaries or story content (unless the vocabulary/structures themselves are the learning goal)
  • Cultural/historical facts mentioned in passing
  • Topic-specific knowledge that won't transfer to other contexts
  • Website navigation or course structure information

Example of what NOT to include:

  • "What are the stages of [story concept]?" - Content knowledge, not language
  • "Who invented [theory]?" - Trivia, not language learning
  • "What does [topic-specific term] mean?" - Unless it's widely-used vocabulary

Example of what TO include:

  • "Cuando + presente de subjuntivo" - Grammar pattern (Spanish)
  • "食べる (taberu) - to eat" - Vocabulary with reading (Japanese)
  • "How to express future time with 'cuando'" - Language usage rule

What to Prioritize

  1. Grammar patterns with examples - highest value for language learning
  2. Conjugation tables - convert to fill-in-blank exercises
  3. Vocabulary words and phrases - with translations and context
  4. Example sentences - use as-is or convert to translation practice
  5. Language rules and explanations - convert to Q&A format
  6. Common mistakes sections - create error correction cards
  7. Idiomatic expressions - with usage examples

What to Skip or Minimize

  • ❌ Long reading passages (not suitable for flashcards)
  • ❌ Complex multi-paragraph explanations (summarize language aspects only)
  • ❌ Navigation elements, ads, site metadata
  • ❌ Author bios, course promotions
  • Content-specific information (stories, plots, cultural facts used as context)
  • Topical knowledge that won't help learn the language itself

Handling Different Content Types

From a grammar lesson:

  • Extract the rule statement
  • Gather all example sentences
  • Create variations for different tenses
  • Note exceptions explicitly

From vocabulary lists:

  • Word + definition/translation
  • Word in context sentence
  • Collocations

From exercises:

  • Convert multiple choice to fill-in-blank
  • Extract correct answers
  • Include explanation if provided

Example Markdown Output Structure

# [Topic Name] - Flashcards for Spaced Repetition

**Source:** [URL of the original page]

**Topics Covered:**
- [List of grammar/vocabulary topics]

---

## Grammar Patterns - [Concept Name]

**Front:** [Pattern description or rule]
**Back:** [Example demonstrating usage]

**Front:** [Variation or related pattern]
**Back:** [Example showing difference]

**Key rule:** [Important note or exception]

---

## Application Exercises

**Front:** [Prompt with blank or transformation task]
**Back:** [Correct answer with explanation if needed]

**Front:** [Another exercise]
**Back:** [Answer]

---

## Vocabulary

**Front:** [Word/phrase in target language]
**Back:** [Definition/translation + example sentence]

**Front:** [Another word]
**Back:** [Definition + context]

---

## Translation Practice

**Front:** [Sentence in native language]
**Back:** [Sentence in target language]

**Front:** [Another sentence]
**Back:** [Translation]

---

## Quick Reference

**Front:** [Question about usage/grammar]
**Back:** [Rule or explanation]

---

## Common Mistakes

**Front:** ❌ [Incorrect usage] → ✅ ?
**Back:** ✅ [Correct usage] ([explanation])

---

## Memory Aids

**Front:** [Question about remembering pattern]
**Back:** [Mnemonic or memory trick]

---

## Study Notes

- Study strategy tips
- Recommended order
- Focus areas

Good luck with your studies! 🎯

Common Pitfalls to Avoid

  1. Wrong Keywords - Not using **Front:** and **Back:** exactly
  2. Merged Lines - Putting Front and Back on the same line
  3. Too Much Text - Making cards too long (keep under 2-3 sentences)
  4. No Organization - Not using headers to categorize cards
  5. Missing Hints - Fill-in-blanks without verb/tense hints
  6. No Variety - Only one card type (need drills, Q&A, translation, etc.)
  7. Skipping Verification - Not checking accent marks and grammar
  8. Random Order - Not organizing by difficulty or category

Examples

Example: Complete Workflow

User request: "Create flashcards from this Spanish grammar page about time expressions"

Claude's process:

  1. Access content: Use tabs_context_mcp and get_page_text
  2. Analyze: Identify temporal connectors lesson with 6 main concepts
  3. Extract language elements:

- ✅ Grammar patterns (cuando, antes de, mientras, etc.) - ✅ Example sentences showing usage - ✅ Vocabulary (valiente, cruel, etc.) - ❌ Skip: Story content used as examples (extract language, not plot) - ❌ Skip: Trivia about theories or concepts mentioned on the page

  1. Structure content:

- Grammar rules with examples in different tenses - Vocabulary with translations - Fill-in-blank application drills - Translation practice - Quick reference Q&A - Common mistakes - Memory aids

  1. Write file: flashcards/temporal-connectors.md
  2. Convert: Run python3 parse_flashcards.py flashcards/temporal-connectors.md
  3. Verify: Check line count shows 153 flashcards created
  4. Report: "Created temporal-connectors.txt with 153 flashcards ready to import into Anki"

Example: Flashcard Format

See the "CRITICAL: Markdown Format Requirements" section above for the exact required format.

Key Principles

Maximum repetition value: Create multiple cards for the same concept from different angles (rule, drill, translation, Q&A).

Progressive difficulty: Start with basic patterns, move to complex applications.

Context over memorization: Always include example sentences, not just isolated rules or definitions.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.16%
按下载量换算52

Claude

33.04%
按下载量换算49

Cursor

17.93%
按下载量换算26

Gemini CLI

10.01%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills