{"data":{"slug":"github-aipoch-medical-research-skills-scientific-skills-academic-writing-anki-card-creator-15c67d8e7b3e","title":"Generate Anki Cards from Medical Content","summary":"Create structured Anki-style flashcards for medical study content with explicit assumptions and output boundaries. The process includes confirming the study objective, learner level, card format, and content source before generating cards or a card blueprint with assumptions, tagging guidance, and validation notes.","url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-academic-writing-anki-card-creator-15c67d8e7b3e","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-aipoch-medical-research-skills-scientific-skills-academic-writing-anki-card-creator-15c67d8e7b3e","markdown_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-academic-writing-anki-card-creator-15c67d8e7b3e.md","download_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-academic-writing-anki-card-creator-15c67d8e7b3e\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Ensure Python 3.10+ is installed and run `python -m py_compile scripts\/main.py` to verify the script can be parsed before execution. Confirm the input path, output path, scope filters, and any domain-specific constraints before running the script.","instructions":"---\nname: anki-card-creator\ndescription: Use anki-card-creator for academic writing workflows that need structured execution, explicit assumptions, and clear output boundaries for study-card generation.\nlicense: MIT\nauthor: AIPOCH\n---\n> **Source**: [https:\/\/github.com\/aipoch\/medical-research-skills](https:\/\/github.com\/aipoch\/medical-research-skills)\n\n# Anki Card Creator\n\nStructured flashcard generation for medical study content.\n\n## When to Use\n\n- Use this skill when the task needs structured Anki-style cards from medical notes, textbook excerpts, lecture summaries, or Q&A study material.\n- Use this skill for academic writing tasks that require explicit assumptions, bounded scope, and a reproducible output format.\n- Use this skill when you need a documented fallback path for missing inputs, execution errors, or partial evidence.\n\n## Key Features\n\n- 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.\n- Packaged executable path(s): `scripts\/main.py`.\n- Reference material available in `references\/` for task-specific guidance.\n- Structured execution path designed to keep outputs consistent and reviewable.\n\n## Dependencies\n\nSee `## Prerequisites` above for related details.\n\n- `Python`: `3.10+`. Repository baseline for current packaged skills.\n- `argparse`: `unspecified`. Declared in `requirements.txt`.\n- `re`: `unspecified`. Declared in `requirements.txt`.\n\n## Example Usage\n\n```bash\ncd \"20260318\/scientific-skills\/Academic Writing\/anki-card-creator\"\npython -m py_compile scripts\/main.py\npython scripts\/main.py --help\n```\n\nExample run plan:\n1. Confirm the user input, output path, and any required config values.\n2. Edit the in-file `CONFIG` block or documented parameters if the script uses fixed settings.\n3. Run `python scripts\/main.py` with the validated inputs.\n4. Review the generated output and return the final artifact with any assumptions called out.\n\n## Implementation Details\n\nSee `## Workflow` above for related details.\n\n- Execution model: validate the request, choose the packaged workflow, and produce a bounded deliverable.\n- Input controls: confirm the source files, scope limits, output format, and acceptance criteria before running any script.\n- Primary implementation surface: `scripts\/main.py`.\n- Reference guidance: `references\/` contains supporting rules, prompts, or checklists.\n- Parameters to clarify first: input path, output path, scope filters, thresholds, and any domain-specific constraints.\n- Output discipline: keep results reproducible, identify assumptions explicitly, and avoid undocumented side effects.\n\n## Quick Check\n\nUse this command to verify that the packaged script entry point can be parsed before deeper execution.\n\n```bash\npython -m py_compile scripts\/main.py\n```\n\n## Audit-Ready Commands\n\nUse these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.\n\n```bash\npython -m py_compile scripts\/main.py\npython scripts\/main.py --help\n```\n\n## Workflow\n\n1. Confirm the study objective, learner level, card format, and content source before drafting cards.\n2. Check whether the material is already in Q\/A form, needs manual restructuring, or is too incomplete for safe conversion.\n3. Use the packaged script when the input matches supported arguments; otherwise produce a manual card plan without fabricating content.\n4. Return cards or a card blueprint with assumptions, tagging guidance, and validation notes.\n5. If required content is missing, stop and request only the minimum additional input.\n\n## Use Cases\n\n- Convert lecture notes into atomic recall cards\n- Turn drug summaries into mechanism and adverse-effect cards\n- Prepare anatomy cards with structure, location, and function blocks\n\n## Parameters\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `--input`, `-i` | string | No | - | Input text file containing Q\/A pairs |\n| `--output`, `-o` | string | No | `anki_cards.txt` | Output TSV file for Anki import |\n| `--drug` | flag | No | false | Create a drug card from structured fields |\n| `--anatomy` | flag | No | false | Create an anatomy card from structured fields |\n| `--name` | string | No | - | Drug or structure name |\n| `--mechanism` | string | No | - | Mechanism of action |\n| `--indications` | string | No | - | Clinical indications |\n| `--side-effects` | string | No | - | Side effects |\n| `--location` | string | No | - | Anatomical location |\n| `--function` | string | No | - | Anatomical function |\n\n## Returns\n\n- Anki-importable TSV output\n- Card fronts and backs aligned to a single learning target\n- Clear note when input is incomplete or too ambiguous for safe conversion\n\n## Example\n\n`Q: What is the mechanism of metformin?`\n\n## Risk Assessment\n\n| Risk Indicator | Assessment | Level |\n|----------------|------------|-------|\n| Code Execution | Local Python script execution only | Medium |\n| Network Access | No external API calls | Low |\n| File System Access | Reads local input files and writes output deck | Medium |\n| Instruction Tampering | Standard prompt-guided workflow | Low |\n| Data Exposure | Output remains in workspace unless shared by user | Low |\n\n## Security Checklist\n\n- [ ] No hardcoded credentials or API keys\n- [ ] No unauthorized file system access (`..\/`)\n- [ ] Output does not expose sensitive information not present in input\n- [ ] Prompt injection protections in place\n- [ ] Input file paths validated before execution\n- [ ] Output directory restricted to workspace\n- [ ] Error messages kept concise and non-deceptive\n- [ ] Dependencies reviewed before broader deployment\n\n## Prerequisites\n\nNo additional Python packages required for the packaged entry point.\n\n## Evaluation Criteria\n\n### Success Metrics\n- [ ] Script path parses successfully\n- [ ] Card structure is atomic and importable\n- [ ] Output stays within provided study source\n- [ ] Missing data triggers explicit fallback behavior\n\n### Test Cases\n1. **Basic Functionality**: Help output and script parse succeed\n2. **Edge Case**: Missing structured fields triggers bounded fallback\n3. **Output Quality**: Cards remain concise and non-duplicative\n\n## Lifecycle Status\n\n- **Current Stage**: Draft\n- **Next Review Date**: 2026-03-20\n- **Known Issues**: Raw prose still requires manual curation before import at scale\n- **Planned Improvements**:\n  - Safer direct-text parsing for non-file inputs\n  - More explicit tag presets by subject\n\n## Output Requirements\n\nEvery final response should make these items explicit when they are relevant:\n\n- Objective or requested deliverable\n- Inputs used and assumptions introduced\n- Workflow or decision path\n- Core result, recommendation, or artifact\n- Constraints, risks, caveats, or validation needs\n- Unresolved items and next-step checks\n\n## Error Handling\n\n- If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.\n- If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.\n- If `scripts\/main.py` fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.\n- Do not fabricate files, citations, data, search results, or execution outcomes.\n\n## Input Validation\n\nThis skill accepts requests that match the documented purpose of `anki-card-creator` and include enough context to complete the workflow safely.\n\nDo not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:\n\n> `anki-card-creator` only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.\n\n## References\n\n- [references\/audit-reference.md](references\/audit-reference.md) - Supported scope, audit commands, and fallback boundaries\n\n## Response Template\n\nUse the following fixed structure for non-trivial requests:\n\n1. Objective\n2. Inputs Received\n3. Assumptions\n4. Workflow\n5. Deliverable\n6. Risks and Limits\n7. Next Checks\n\nIf the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.\n","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"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/aipoch\/medical-research-skills\/blob\/686e09dfdb45d9fa1a08664f06bb93769b3c9d91\/scientific-skills\/Academic%20Writing\/anki-card-creator\/SKILL.md","source_commit":"686e09dfdb45d9fa1a08664f06bb93769b3c9d91","license":"MIT","version":null,"listing_approved_at":"2026-11-24","created_at":"2026-11-23T09:15:42.000000Z","updated_at":"2026-11-24T07:13:43.000000Z","seo_title":"Generate Anki Cards from Medical Content","seo_description":"Create structured Anki-style flashcards for medical study content with explicit assumptions and output boundaries.","seo_keywords":["anki card generator medical","medical study flashcards","structured flashcard creation","academic writing tools","study card generator"]}}