/install key-takeaways
\r
Key Takeaways\r
\r Extracts and presents the most important points from any body of text — meeting notes, articles, reports, or documents — as concise, structured takeaways. Supports multiple output formats and is configurable for audience or depth.\r \r
When to Use\r
\r
- Use this skill when the task needs Extracts and summarizes key takeaways from documents, meeting notes, articles, and other text content. Use when the user asks for summaries, bullet points, main points, highlights, or a TL;DR of any document or body of text. Produces structured outputs such as numbered lists, executive summaries, and action items. Supports configurable output formats including JSON export for downstream use.\r
- Use this skill for evidence insight tasks that require explicit assumptions, bounded scope, and a reproducible output format.\r
- Use this skill when you need a documented fallback path for missing inputs, execution errors, or partial evidence.\r \r
Key Features\r
\r
- Scope-focused workflow aligned to: Extracts and summarizes key takeaways from documents, meeting notes, articles, and other text content. Use when the user asks for summaries, bullet points, main points, highlights, or a TL;DR of any document or body of text. Produces structured outputs such as numbered lists, executive summaries, and action items. Supports configurable output formats including JSON export for downstream use.\r
- Packaged executable path(s):
scripts/main.py.\r - Reference material available in
references/for task-specific guidance.\r - Structured execution path designed to keep outputs consistent and reviewable.\r \r
Dependencies\r
\r
Python:3.10+. Repository baseline for current packaged skills.\rThird-party packages:not explicitly version-pinned in this skill package. Add pinned versions if this skill needs stricter environment control.\r \r
Example Usage\r
\r
cd "20260318/scientific-skills/Evidence Insight/key-takeaways"\r
python -m py_compile scripts/main.py\r
python scripts/main.py --help\r
```\r
\r
Example run plan:\r
1. Confirm the user input, output path, and any required config values.\r
2. Edit the in-file `CONFIG` block or documented parameters if the script uses fixed settings.\r
3. Run `python scripts/main.py` with the validated inputs.\r
4. Review the generated output and return the final artifact with any assumptions called out.\r
\r
## Implementation Details\r
\r
See `## Workflow` above for related details.\r
\r
- Execution model: validate the request, choose the packaged workflow, and produce a bounded deliverable.\r
- Input controls: confirm the source files, scope limits, output format, and acceptance criteria before running any script.\r
- Primary implementation surface: `scripts/main.py`.\r
- Reference guidance: `references/` contains supporting rules, prompts, or checklists.\r
- Parameters to clarify first: input path, output path, scope filters, thresholds, and any domain-specific constraints.\r
- Output discipline: keep results reproducible, identify assumptions explicitly, and avoid undocumented side effects.\r
\r
## Quick Check\r
\r
Use this command to verify that the packaged script entry point can be parsed before deeper execution.\r
\r
```bash\r
python -m py_compile scripts/main.py\r
```\r
\r
## Audit-Ready Commands\r
\r
Use these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.\r
\r
```bash\r
python -m py_compile scripts/main.py\r
python scripts/main.py\r
```\r
\r
## Workflow\r
\r
1. Confirm the user objective, required inputs, and non-negotiable constraints before doing detailed work.\r
2. Validate that the request matches the documented scope and stop early if the task would require unsupported assumptions.\r
3. Use the packaged script path or the documented reasoning path with only the inputs that are actually available.\r
4. Return a structured result that separates assumptions, deliverables, risks, and unresolved items.\r
5. If execution fails or inputs are incomplete, switch to the fallback path and state exactly what blocked full completion.\r
\r
## Quick Start\r
\r
```python\r
from scripts.main import Key_Takeaways\r
\r
# Initialize\r
tool = Key_Takeaways()\r
\r
# Extract key takeaways from a document\r
result = tool.process("meeting_notes.txt")\r
\r
# Export as structured JSON\r
tool.export(result, format="json")\r
```\r
\r
## Core Capabilities\r
\r
### 1. Extract key points from text\r
\r
```python\r
\r
# Read source document and extract top takeaways\r
result = tool.process("quarterly_report.txt")\r
\r
# Returns: [{"point": "Revenue grew 12% YoY", "source_line": 4}, ...]\r
```\r
\r
### 2. Generate structured summaries\r
\r
```python\r
\r
# Generate a bullet-point executive summary\r
result = tool.process("meeting_notes.txt", style="executive")\r
\r
# Returns: {"summary": "...", "action_items": [...], "decisions": [...]}\r
```\r
\r
### 3. Configure output depth and audience\r
\r
```python\r
\r
# Adjust number of takeaways and target audience\r
result = tool.process("article.txt", max_points=5, audience="non-technical")\r
```\r
\r
### 4. Export results\r
\r
```python\r
\r
# Export takeaways to JSON or plain text\r
tool.export(result, format="json", output_path="takeaways.json")\r
tool.export(result, format="txt", output_path="takeaways.txt")\r
```\r
\r
## CLI Usage\r
\r
```text\r
\r
# Extract key takeaways from a file\r
python scripts/main.py --input document.txt --output takeaways.txt\r
\r
# Use a config file to set depth, audience, and format\r
python scripts/main.py --input document.txt --config config.json --verbose\r
\r
# Batch process a directory of documents\r
python scripts/main.py --batch input_dir/ --output output_dir/\r
```\r
\r
**Batch processing notes:**\r
- Verify the output directory exists before running: `mkdir -p output_dir/`\r
- If processing fails on an individual file, the tool logs the error and continues with remaining files; review `output_dir/errors.log` after the run\r
- After batch completion, validate all JSON outputs: `for f in output_dir/*.json; do python -m json.tool "$f" > /dev/null && echo "OK: $f" || echo "FAIL: $f"; done`\r
\r
## Example Input / Output\r
\r
**Input** (`meeting_notes.txt`):\r
```\r
Q3 review: Sales up 15%. New product launch delayed to Q4.\r
Action: Alice to update roadmap by Friday. Budget approved for hiring.\r
```\r
\r
**Output** (`takeaways.json`):\r
```json\r
{\r
"key_points": [\r
"Sales increased 15% in Q3",\r
"Product launch rescheduled to Q4"\r
],\r
"action_items": [\r
"Alice to update roadmap by Friday"\r
],\r
"decisions": [\r
"Budget approved for hiring"\r
]\r
}\r
```\r
\r
## Quality Checklist\r
\r
- [ ] Source text is readable and complete before processing\r
- [ ] Output point count matches configured `max_points` setting\r
- [ ] Action items and decisions are separated from general observations\r
- [ ] Exported file opens and validates correctly (e.g., `python -m json.tool takeaways.json`)\r
- If JSON validation fails, check source file encoding (UTF-8 expected) and re-run; inspect `--verbose` output for parsing errors\r
- [ ] Results reviewed against original source for accuracy\r
\r
## References\r
\r
- `references/guide.md` - Detailed documentation\r
- `references/examples/` - Sample inputs and outputs\r
\r
---\r
\r
**Skill ID**: 308 | **Version**: 1.0 | **License**: MIT\r
\r
## Output Requirements\r
\r
Every final response should make these items explicit when they are relevant:\r
\r
- Objective or requested deliverable\r
- Inputs used and assumptions introduced\r
- Workflow or decision path\r
- Core result, recommendation, or artifact\r
- Constraints, risks, caveats, or validation needs\r
- Unresolved items and next-step checks\r
\r
## Error Handling\r
\r
- If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.\r
- If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.\r
- If `scripts/main.py` fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.\r
- Do not fabricate files, citations, data, search results, or execution outcomes.\r
\r
## Input Validation\r
\r
This skill accepts requests that match the documented purpose of `key-takeaways` and include enough context to complete the workflow safely.\r
\r
Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:\r
\r
> `key-takeaways` only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.\r
\r
## Response Template\r
\r
Use the following fixed structure for non-trivial requests:\r
\r
1. Objective\r
2. Inputs Received\r
3. Assumptions\r
4. Workflow\r
5. Deliverable\r
6. Risks and Limits\r
7. Next Checks\r
\r
If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.\r
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install key-takeaways - After installation, invoke the skill by name or use
/key-takeaways - Provide required inputs per the skill's parameter spec and get structured output
What is Key Takeaways?
Extracts and summarizes key takeaways from documents, meeting notes, articles, and other text content. Use when the user asks for summaries, bullet points, m... It is an AI Agent Skill for Claude Code / OpenClaw, with 108 downloads so far.
How do I install Key Takeaways?
Run "/install key-takeaways" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Key Takeaways free?
Yes, Key Takeaways is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Key Takeaways support?
Key Takeaways is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Key Takeaways?
It is built and maintained by AIpoch (@aipoch-ai); the current version is v1.0.0.