跳到正文
cccskills
免费在 GitHub 公开

anki-card-creator

Turn medical notes, textbook excerpts, lecture summaries, or Q&A material into focused Anki cards. The workflow produces an importable TSV or card blueprint, states assumptions, and flags source material that is incomplete or too ambiguous to convert safely.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Use anki-card-creator for academic writing workflows that need structured execution, explicit assumptions, and clear output boundaries for study-card generation.

实测评分 未实测

查看安装方法

适用场景

  • Convert lecture notes into focused recall cards
  • Create drug mechanism and side-effect cards
  • Build anatomy cards covering location and function

包含的文件(6)

  • SKILL.md8.1 KB
  • anki_cards.txt203 B
  • anki-card-creator_audit_result_v2.json12.1 KB
  • references/audit-reference.md933 B
  • requirements.txt84 B
  • scripts/main.py4.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Source: https://github.com/aipoch/medical-research-skills

Anki Card Creator

Structured flashcard generation for medical study content.

When to Use

  • Use this skill when the task needs structured Anki-style cards from medical notes, textbook excerpts, lecture summaries, or Q&A study material.
  • Use this skill for academic writing tasks that require explicit assumptions, bounded scope, and a reproducible output format.
  • Use this skill when you need a documented fallback path for missing inputs, execution errors, or partial evidence.

Key Features

  • Scope-focused workflow aligned to: Use anki-card-creator for academic writing workflows that need structured execution, explicit assumptions, and clear output boundaries for study-card generation.
  • Packaged executable path(s): scripts/main.py.
  • Reference material available in references/ for task-specific guidance.
  • Structured execution path designed to keep outputs consistent and reviewable.

Dependencies

See ## Prerequisites above for related details.

  • Python: 3.10+. Repository baseline for current packaged skills.
  • argparse: unspecified. Declared in requirements.txt.
  • re: unspecified. Declared in requirements.txt.

Example Usage

cd "20260318/scientific-skills/Academic Writing/anki-card-creator"
python -m py_compile scripts/main.py
python scripts/main.py --help

Example run plan:

  1. Confirm the user input, output path, and any required config values.
  2. Edit the in-file CONFIG block or documented parameters if the script uses fixed settings.
  3. Run python scripts/main.py with the validated inputs.
  4. Review the generated output and return the final artifact with any assumptions called out.

Implementation Details

See ## Workflow above for related details.

  • Execution model: validate the request, choose the packaged workflow, and produce a bounded deliverable.
  • Input controls: confirm the source files, scope limits, output format, and acceptance criteria before running any script.
  • Primary implementation surface: scripts/main.py.
  • Reference guidance: references/ contains supporting rules, prompts, or checklists.
  • Parameters to clarify first: input path, output path, scope filters, thresholds, and any domain-specific constraints.
  • Output discipline: keep results reproducible, identify assumptions explicitly, and avoid undocumented side effects.

Quick Check

Use this command to verify that the packaged script entry point can be parsed before deeper execution.

python -m py_compile scripts/main.py

Audit-Ready Commands

Use these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.

python -m py_compile scripts/main.py
python scripts/main.py --help

Workflow

  1. Confirm the study objective, learner level, card format, and content source before drafting cards.
  2. Check whether the material is already in Q/A form, needs manual restructuring, or is too incomplete for safe conversion.
  3. Use the packaged script when the input matches supported arguments; otherwise produce a manual card plan without fabricating content.
  4. Return cards or a card blueprint with assumptions, tagging guidance, and validation notes.
  5. If required content is missing, stop and request only the minimum additional input.

Use Cases

  • Convert lecture notes into atomic recall cards
  • Turn drug summaries into mechanism and adverse-effect cards
  • Prepare anatomy cards with structure, location, and function blocks

Parameters

ParameterTypeRequiredDefaultDescription
--input, -istringNo-Input text file containing Q/A pairs
--output, -ostringNoanki_cards.txtOutput TSV file for Anki import
--drugflagNofalseCreate a drug card from structured fields
--anatomyflagNofalseCreate an anatomy card from structured fields
--namestringNo-Drug or structure name
--mechanismstringNo-Mechanism of action
--indicationsstringNo-Clinical indications
--side-effectsstringNo-Side effects
--locationstringNo-Anatomical location
--functionstringNo-Anatomical function

Returns

  • Anki-importable TSV output
  • Card fronts and backs aligned to a single learning target
  • Clear note when input is incomplete or too ambiguous for safe conversion

Example

Q: What is the mechanism of metformin?

Risk Assessment

Risk IndicatorAssessmentLevel
Code ExecutionLocal Python script execution onlyMedium
Network AccessNo external API callsLow
File System AccessReads local input files and writes output deckMedium
Instruction TamperingStandard prompt-guided workflowLow
Data ExposureOutput remains in workspace unless shared by userLow

Security Checklist

  • No hardcoded credentials or API keys
  • No unauthorized file system access (../)
  • Output does not expose sensitive information not present in input
  • Prompt injection protections in place
  • Input file paths validated before execution
  • Output directory restricted to workspace
  • Error messages kept concise and non-deceptive
  • Dependencies reviewed before broader deployment

Prerequisites

No additional Python packages required for the packaged entry point.

Evaluation Criteria

Success Metrics

  • Script path parses successfully
  • Card structure is atomic and importable
  • Output stays within provided study source
  • Missing data triggers explicit fallback behavior

Test Cases

  1. Basic Functionality: Help output and script parse succeed
  2. Edge Case: Missing structured fields triggers bounded fallback
  3. Output Quality: Cards remain concise and non-duplicative

Lifecycle Status

  • Current Stage: Draft
  • Next Review Date: 2026-03-20
  • Known Issues: Raw prose still requires manual curation before import at scale
  • Planned Improvements:
    • Safer direct-text parsing for non-file inputs
    • More explicit tag presets by subject

Output Requirements

Every final response should make these items explicit when they are relevant:

  • Objective or requested deliverable
  • Inputs used and assumptions introduced
  • Workflow or decision path
  • Core result, recommendation, or artifact
  • Constraints, risks, caveats, or validation needs
  • Unresolved items and next-step checks

Error Handling

  • If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.
  • If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.
  • If scripts/main.py fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.
  • Do not fabricate files, citations, data, search results, or execution outcomes.

Input Validation

This skill accepts requests that match the documented purpose of anki-card-creator and include enough context to complete the workflow safely.

Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:

anki-card-creator only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.

References

Response Template

Use the following fixed structure for non-trivial requests:

  1. Objective
  2. Inputs Received
  3. Assumptions
  4. Workflow
  5. Deliverable
  6. Risks and Limits
  7. Next Checks

If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Condense an academic paper into a structured abstract of up to 250 words, organized by background, objective, methods, results, and conclusion. It aims to retain key quantitative findings and supports papers from several research fields; figures and charts are not interpreted.

中文简介正在准备中。当前显示英语简介。

  • Creating a concise abstract from a research paper
  • Summarizing empirical studies while retaining key statistics
  • Preparing structured summaries across multiple papers
aipoch/medical-research-skills19802026年9月17日 更新

Trim English academic abstracts to a target word count while preserving key findings, statistics, and the background-to-conclusion structure. Choose conservative, balanced, or aggressive compression, check word counts, and review the edited text for readability and accuracy.

中文简介正在准备中。当前显示英语简介。

  • Cutting an abstract to meet a journal word limit
  • Preparing a conference abstract with a strict word count
  • Checking an abstract's word count before submission
aipoch/medical-research-skills19802026年9月17日 更新

Refines long medical drafts, reports, or literature notes into formal, single-paragraph Chinese and English abstracts in an SCI journal style. It can place both abstracts in a Markdown report while keeping claims grounded in the source text.

中文简介正在准备中。当前显示英语简介。

  • Condensing a medical study report into bilingual abstracts
  • Preparing unstructured abstracts from literature notes
  • Creating a Markdown report with Chinese and English abstracts
aipoch/medical-research-skills19802026年9月17日 更新

Creates three to five concise English Highlights for journal submission from manuscript text or supported files. It adapts bullets to the article type, keeps each within 85 characters, and grounds every claim in the supplied source without inventing results.

中文简介正在准备中。当前显示英语简介。

  • Draft journal Highlights from an abstract or manuscript
  • Summarize a meta-analysis or review for submission
  • Extract key findings from a supported PDF or DOCX
aipoch/medical-research-skills19802026年9月17日 更新

Design comparative drug safety studies using FAERS, the FDA’s adverse event reporting database, within one defined safety area. The plan compares drugs or classes, lays out workload options and analysis steps, and distinguishes detected signals from conclusions the data cannot support.

中文简介正在准备中。当前显示英语简介。

  • Comparing drug classes within one adverse event area
  • Planning a FAERS study with active comparators
  • Adding declared subgroup or onset characterization
aipoch/medical-research-skills19802026年9月17日 更新

Predicts absorption, distribution, metabolism, and excretion properties for small molecules from their structures. Use the results to compare compounds, screen libraries, and review drug-likeness scores in structured outputs. Predictions support prioritization and need experimental validation.

中文简介正在准备中。当前显示英语简介。

  • Compare predicted ADME profiles for small-molecule candidates
  • Screen a compound library for drug-likeness
  • Rank candidates against target property ranges
aipoch/medical-research-skills19802026年9月17日 更新

查看 aipoch 的全部技能

报告此技能的问题