Skip to content
Back to skills

Lay Summary Gen

ASecurity

Converts complex medical abstracts into plain language summaries for

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
securitypythongoapisecurityperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add whyzsm/tiny-agents --skill lay-summary-gen --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lay Summary Gen?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lay Summary Gen
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/whyzsm-lay-summary-gen/badge)](https://www.skillsdirectory.com/skills/whyzsm-lay-summary-gen)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: lay-summary-gen
description: Converts complex medical abstracts into plain language summaries for
  patients, caregivers, and the general public. Ensures readability while maintaining
  scientific accuracy.
---

# 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

```json
{
  "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

Files in this skill

  • SKILL.md2.4 KB
  • agents/openai.yaml275 B
  • references/guidelines.md314 B
  • scripts/main.py3.5 KB
  • source.json269 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.