← 返回 Skills 市场
85
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install lay-summary-gen-1
功能描述
Converts complex medical abstracts into plain language summaries for.
使用说明 (SKILL.md)
\r
Lay Summary Gen\r
\r Generates plain-language summaries of medical research for non-expert audiences.\r \r
When to Use\r
\r
- Use this skill when the task needs Converts complex medical abstracts into plain language summaries for.\r
- Use this skill for academic writing 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
See ## Features above for related details.\r
\r
- Scope-focused workflow aligned to: Converts complex medical abstracts into plain language summaries for.\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
See ## Prerequisites above for related details.\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/Academic Writing/lay-summary-gen"\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 demo\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
## Features\r
\r
- Complex to simple language conversion\r
- Jargon elimination\r
- Reading level optimization (Grade 6-8)\r
- Key takeaways extraction\r
- EU CTR compliance support\r
\r
## Input Parameters\r
\r
| Parameter | Type | Required | Description |\r
|-----------|------|----------|-------------|\r
| `abstract` | str | Yes | Original medical abstract |\r
| `target_audience` | str | No | "patients", "public", "media" |\r
| `max_words` | int | No | Maximum word count (default: 250) |\r
\r
## Output Format\r
\r
```json\r
{\r
"lay_summary": "string",\r
"reading_level": "string",\r
"key_takeaways": ["string"],\r
"word_count": "int",\r
"jargon_replaced": [{"term": "plain"}]\r
}\r
```\r
\r
## Risk Assessment\r
\r
| Risk Indicator | Assessment | Level |\r
|----------------|------------|-------|\r
| Code Execution | Python/R scripts executed locally | Medium |\r
| Network Access | No external API calls | Low |\r
| File System Access | Read input files, write output files | Medium |\r
| Instruction Tampering | Standard prompt guidelines | Low |\r
| Data Exposure | Output files saved to workspace | Low |\r
\r
## Security Checklist\r
\r
- [ ] No hardcoded credentials or API keys\r
- [ ] No unauthorized file system access (../)\r
- [ ] Output does not expose sensitive information\r
- [ ] Prompt injection protections in place\r
- [ ] Input file paths validated (no ../ traversal)\r
- [ ] Output directory restricted to workspace\r
- [ ] Script execution in sandboxed environment\r
- [ ] Error messages sanitized (no stack traces exposed)\r
- [ ] Dependencies audited\r
\r
## Prerequisites\r
\r
No additional Python packages required.\r
\r
## Evaluation Criteria\r
\r
### Success Metrics\r
- [ ] Successfully executes main functionality\r
- [ ] Output meets quality standards\r
- [ ] Handles edge cases gracefully\r
- [ ] Performance is acceptable\r
\r
### Test Cases\r
1. **Basic Functionality**: Standard input → Expected output\r
2. **Edge Case**: Invalid input → Graceful error handling\r
3. **Performance**: Large dataset → Acceptable processing time\r
\r
## Lifecycle Status\r
\r
- **Current Stage**: Draft\r
- **Next Review Date**: 2026-03-06\r
- **Known Issues**: None\r
- **Planned Improvements**: \r
- Performance optimization\r
- Additional feature support\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 `lay-summary-gen` 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
> `lay-summary-gen` 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 appears to implement a straightforward, local text-processing tool and is not asking for secrets or network access. Before installing or running it with sensitive inputs: 1) Verify the mismatch between SKILL.md and the script—SKILL.md mentions editing a CONFIG block, file read/write, and saving outputs, but scripts/main.py only prints JSON to stdout; update the docs or the script accordingly. 2) Note the script truncates output by characters (summary[:max_words * 6]) rather than enforcing a true word limit—expect off-by-one/truncation quirks. 3) Run the script in a sandbox or isolated environment (python -m py_compile scripts/main.py; python scripts/main.py 'your abstract') to inspect behavior and outputs. 4) If you will process real clinical text, ensure PHI is removed before use and verify where outputs are stored (this package prints to stdout and does not persist files, despite SKILL.md claims). 5) If you plan to integrate into a larger workflow, consider adding unit tests, explicit input-path handling, and pinning dependencies (even though none are currently required).
功能分析
Type: OpenClaw Skill
Name: lay-summary-gen-1
Version: 1.0.0
The skill bundle is a legitimate tool for generating plain-language medical summaries. The core logic in `scripts/main.py` is a simple text processor that performs string replacements and basic readability analysis without any network activity, file system modifications, or sensitive data access. The instructions in `SKILL.md` are well-structured and align strictly with the stated purpose of the tool, containing no evidence of malicious prompt injection or unauthorized execution paths.
能力评估
Purpose & Capability
The skill name/description match the included implementation: scripts/main.py performs jargon replacement, sentence simplification, key-takeaway extraction, word counting, and a simple reading-level estimate. No unrelated credentials, binaries, or third-party services are requested.
Instruction Scope
SKILL.md frequently instructs validating input/output paths, editing an in-file CONFIG block, and saving output files; the included script does not implement file I/O or any CONFIG block—it accepts an abstract as a command-line argument and prints JSON to stdout. This mismatch between runtime instructions and actual code is a scope/instruction inconsistency and could mislead users about what the skill does.
Install Mechanism
No install spec; the skill is instruction-only with an included Python script. There are no downloads or external installers. This is low install risk.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The code uses only standard-library modules (json, re, sys), so requested environment access is proportionate to purpose.
Persistence & Privilege
always is false and the skill does not request persistent presence or modify other skills. The skill does execute local code when invoked, which is expected for a packaged script.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install lay-summary-gen-1 - 安装完成后,直接呼叫该 Skill 的名称或使用
/lay-summary-gen-1触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Lay Summary Gen – converts complex medical research abstracts into plain-language summaries.
- Provides a Python script to generate patient-friendly summaries from medical abstracts.
- Supports reading level optimization, jargon elimination, and extraction of key takeaways.
- Offers a reproducible workflow with clear input validation and structured output.
- Includes EU CTR compliance support.
- Features audit-ready commands and a documented fallback path for error handling.
- No additional Python packages required; dependencies and security protocols clearly listed.
元数据
常见问题
Lay Summary Gen 是什么?
Converts complex medical abstracts into plain language summaries for. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 85 次。
如何安装 Lay Summary Gen?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install lay-summary-gen-1」即可一键安装,无需额外配置。
Lay Summary Gen 是免费的吗?
是的,Lay Summary Gen 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Lay Summary Gen 支持哪些平台?
Lay Summary Gen 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Lay Summary Gen?
由 AIpoch(@aipoch-ai)开发并维护,当前版本 v1.0.0。
推荐 Skills