← 返回 Skills 市场
aipoch-ai

Key Takeaways

作者 AIpoch · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
108
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (SKILL.md)

\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.\r
  • Third-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
安全使用建议
This package contains a simple, local Python summarizer and does not ask for credentials or perform network calls, so it is not obviously dangerous. However, the runtime instructions and examples in SKILL.md do not match the included script (different class/method names and references to a CONFIG block that doesn't exist). Before installing or allowing autonomous use: (1) review and/or run scripts/main.py yourself in an isolated environment to confirm behavior; (2) fix or reconcile SKILL.md examples (or adapt your calls to the actual extract() API); (3) if you will process sensitive data (medical records, PII), ensure appropriate privacy controls because the code is simplistic and makes no privacy guarantees; and (4) if you add third-party packages, pin versions and review dependencies. The current inconsistencies are likely engineering sloppiness rather than malicious intent, but they warrant correction before production use.
功能分析
Type: OpenClaw Skill Name: key-takeaways Version: 1.0.0 The skill bundle provides a straightforward text summarization tool using keyword-based scoring. The core logic in `scripts/main.py` is limited to basic string manipulation and regex-based sentence splitting, with no risky behaviors such as network access, file system modifications, or shell execution. The documentation in `SKILL.md` is verbose but aligns with the stated purpose, and the included audit report (`key-takeaways_audit_result_v1.json`) indicates a standard review process with no security red flags.
能力评估
Purpose & Capability
The skill's name and description match a local text-summarization utility and the package includes a small Python extractor. However the code's docstring and references lean toward 'medical documents' specifically while the description claims general-purpose documents — a minor mismatch in stated target domain but not necessarily malicious.
Instruction Scope
SKILL.md instructs running and configuring scripts (mentions editing an in-file CONFIG block) and gives Quick Start examples, but the examples do not match the code: SKILL.md references Key_Takeaways and .process/.export methods and a CONFIG block, whereas scripts/main.py defines class KeyTakeaways with an extract() method and no CONFIG. These inconsistencies could cause the agent to attempt non-existent functions or apply the wrong inputs; the instructions also repeat text and are somewhat sloppy.
Install Mechanism
No install spec is provided (instruction-only skill with a small local script). There is no network download or third-party installation described, so installation risk is low. SKILL.md mentions third-party packages are not pinned, but none are actually required by the included script.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The included files contain no network endpoints or secret-handling code. Environment/credential access is proportional to the stated summarization purpose.
Persistence & Privilege
The skill is not marked always:true, does not request persistent system changes, and contains no install hooks. It does not modify other skills or agent configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install key-takeaways
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /key-takeaways 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the Key Takeaways skill. - Extracts and summarizes key points from documents, meeting notes, articles, and other text. - Supports structured outputs: numbered lists, executive summaries, action items, and JSON export. - Configurable output formats for different audiences and detail levels. - Includes batch processing, input validation, and documented fallback/error handling. - Provides command line and Python usage examples for quick integration.
元数据
Slug key-takeaways
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 108 次。

如何安装 Key Takeaways?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install key-takeaways」即可一键安装,无需额外配置。

Key Takeaways 是免费的吗?

是的,Key Takeaways 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Key Takeaways 支持哪些平台?

Key Takeaways 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Key Takeaways?

由 AIpoch(@aipoch-ai)开发并维护,当前版本 v1.0.0。

💬 留言讨论