← Back to Skills Marketplace
ewankeynes

Lay Summary Gen

by ewankeynes · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
231
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install lay-summary-gen
Description
Converts complex medical abstracts into plain language summaries for patients, caregivers, and the general public. Ensures readability while maintaining scie...
README (SKILL.md)

Lay Summary Gen

Generates plain-language summaries of medical research for non-expert audiences.

Features

  • Complex to simple language conversion
  • Jargon elimination
  • Reading level optimization (Grade 6-8)
  • Key takeaways extraction
  • EU CTR compliance support

Input Parameters

Parameter Type Required Description
abstract str Yes Original medical abstract
target_audience str No "patients", "public", "media"
max_words int No Maximum word count (default: 250)

Output Format

{
  "lay_summary": "string",
  "reading_level": "string",
  "key_takeaways": ["string"],
  "word_count": "int",
  "jargon_replaced": [{"term": "plain"}]
}

Risk Assessment

Risk Indicator Assessment Level
Code Execution Python/R scripts executed locally Medium
Network Access No external API calls Low
File System Access Read input files, write output files Medium
Instruction Tampering Standard prompt guidelines Low
Data Exposure Output files saved to workspace Low

Security Checklist

  • No hardcoded credentials or API keys
  • No unauthorized file system access (../)
  • Output does not expose sensitive information
  • Prompt injection protections in place
  • Input file paths validated (no ../ traversal)
  • Output directory restricted to workspace
  • Script execution in sandboxed environment
  • Error messages sanitized (no stack traces exposed)
  • Dependencies audited

Prerequisites

No additional Python packages required.

Evaluation Criteria

Success Metrics

  • Successfully executes main functionality
  • Output meets quality standards
  • Handles edge cases gracefully
  • Performance is acceptable

Test Cases

  1. Basic Functionality: Standard input → Expected output
  2. Edge Case: Invalid input → Graceful error handling
  3. Performance: Large dataset → Acceptable processing time

Lifecycle Status

  • Current Stage: Draft
  • Next Review Date: 2026-03-06
  • Known Issues: None
  • Planned Improvements:
    • Performance optimization
    • Additional feature support
Usage Guidance
This skill appears to do what it says: a small local Python tool for simplifying medical abstracts. It's coherent and low-risk: there are no network calls or secret requirements. Before installing or using it with real patient data, review and test outputs for clinical accuracy (this is not medical advice), and avoid feeding sensitive identifiable patient information into any third-party service. Note the SKILL.md mentions file read/write and sandboxing but the current script only reads an input string and prints JSON—if you or your environment modifies the skill to accept file inputs, re-review for path traversal and data-handling safeguards.
Capability Analysis
Type: OpenClaw Skill Name: lay-summary-gen Version: 0.1.0 The skill bundle is a straightforward text processing tool designed to simplify medical abstracts into plain language. The core logic in scripts/main.py uses basic string manipulation and regular expressions to replace jargon and estimate reading levels, with no evidence of network access, file system interaction, or malicious execution patterns. The documentation in SKILL.md and references/guidelines.md is consistent with the stated purpose and contains no prompt injection attempts or suspicious instructions.
Capability Assessment
Purpose & Capability
The name/description (lay summaries for non-experts) align with the included Python implementation: jargon mapping, sentence simplification, key-takeaway extraction, and a reading-level estimate. There are no unrelated credentials, binaries, or services requested.
Instruction Scope
The SKILL.md and script instruct local execution of a Python script and expect input abstracts. The SKILL.md's risk checklist mentions file reads/writes and sandboxing, but the provided script only reads an input string (argv) and prints JSON—it does not perform filesystem or network I/O. This is a minor documentation vs. implementation mismatch (not a functional threat), but users should note the skill will execute local Python code.
Install Mechanism
No install spec is provided (instruction-only + small script bundled). No packages or external downloads are required. This is low-risk from installation perspective.
Credentials
No environment variables, credentials, or config paths are requested. The skill does not require elevated environment access and the code does not read environment variables.
Persistence & Privilege
The skill is not always-enabled and does not request persistent system presence or modify other skills or system settings. It runs locally when invoked.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install lay-summary-gen
  3. After installation, invoke the skill by name or use /lay-summary-gen
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release of Lay Summary Gen – converts medical research abstracts to plain-language summaries. - Converts complex medical language into easy-to-understand summaries for patients and the public - Removes jargon and optimizes summaries for grade 6–8 reading level - Extracts key takeaways and supports EU CTR compliance - Offers customization for target audience and word count - Provides a structured JSON output with lay summary, reading level, and replaced jargon
Metadata
Slug lay-summary-gen
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Lay Summary Gen?

Converts complex medical abstracts into plain language summaries for patients, caregivers, and the general public. Ensures readability while maintaining scie... It is an AI Agent Skill for Claude Code / OpenClaw, with 231 downloads so far.

How do I install Lay Summary Gen?

Run "/install lay-summary-gen" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Lay Summary Gen free?

Yes, Lay Summary Gen is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Lay Summary Gen support?

Lay Summary Gen is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Lay Summary Gen?

It is built and maintained by ewankeynes (@ewankeynes); the current version is v0.1.0.

💬 Comments