Generate ECS-compliant security events, multi-step attack scenarios, and synthetic alert documents that populate Elastic
Works with
Security dashboards, the Alerts tab, and Attack Discovery.
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionsecurity-generate-security-sample-dataExecute the skills CLI command in your project's root directory to begin installation:
Fetches security-generate-security-sample-data from elastic/agent-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate security-generate-security-sample-data. Access via /security-generate-security-sample-data in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
1
total installs
1
this week
296
GitHub stars
0
upvotes
Run in your terminal
1
installs
1
this week
296
stars
Generate ECS-compliant security events, multi-step attack scenarios, and synthetic alert documents that populate Elastic Security dashboards, the Alerts tab, and Attack Discovery.
For a zero-friction experience that generates everything and opens Kibana:
node skills/security/generate-security-sample-data/scripts/demo-walkthrough.js
- [ ] Step 1: Set environment variables
- [ ] Step 2: Generate sample data
- [ ] Step 3: Explore in Kibana
- [ ] Step 4: Clean up when done
export ELASTICSEARCH_URL="https://your-project.es.region.aws.elastic.cloud"
export ELASTICSEARCH_USERNAME="admin"
export ELASTICSEARCH_PASSWORD="your-password"
export KIBANA_URL="https://your-project.kb.region.aws.elastic.cloud"
node skills/security/generate-security-sample-data/scripts/sample-data.js \
system endpoint okta aws windows --scenarios --alerts
node skills/security/generate-security-sample-data/scripts/sample-data.js \
system endpoint --count 100
node skills/security/generate-security-sample-data/scripts/sample-data.js --scenarios
node skills/security/generate-security-sample-data/scripts/sample-data.js --alerts
After generating data, direct the user to these pages:
node skills/security/generate-security-sample-data/scripts/sample-data.js --cleanup
Sample data spans 5 packages (system, endpoint, windows, aws, okta) and 4 focused attack scenarios covering the most
common demo themes: Windows credential theft, AWS cloud privilege escalation, Okta identity takeover, and a full
ransomware kill chain. Synthetic alert documents are indexed into .alerts-security.alerts-default with MITRE ATT&CK
mappings, severity levels, and risk scores.
All events use RFC 5737 / RFC 2606 safe addresses. For full tables of packages, scenarios, and alerts see references/sample-data-reference.md.
Stream events to simulate a live environment:
node skills/security/generate-security-sample-data/scripts/sample-data.js \
--continuous --interval 15
Every 5th batch includes an attack scenario; every 10th batch adds synthetic alerts. Press Ctrl+C to stop.
| Flag | Description |
|---|---|
--count, -n |
Events per package (default: 50) |
--scenarios |
Run all attack simulation scenarios |
--scenario NAME |
Run a specific scenario |
--alerts |
Generate synthetic alert documents |
--cleanup |
Remove all sample data and alerts |
--continuous |
Stream live events (Ctrl+C to stop) |
--interval N |
Seconds between continuous batches (default: 30) |
--json, -j |
Output results as JSON |
--yes, -y |
Skip confirmation prompts |
Zero-friction runner that generates everything and opens Kibana.
| Flag | Description |
|---|---|
--cleanup |
Remove all sample data, alerts, case |
--continuous |
Generate then stream live events |
--count N |
Events per package (default: 50) |
--interval N |
Seconds between batches (default: 30) |
"Set up a demo environment so I can show Attack Discovery to my VP."
node skills/security/generate-security-sample-data/scripts/demo-walkthrough.js
"Generate only the ransomware attack chain to test our detection rules."
node skills/security/generate-security-sample-data/scripts/sample-data.js \
--scenario ransomwareChain --alerts
"Keep generating events so the dashboards stay active during the demo."
node skills/security/generate-security-sample-data/scripts/demo-walkthrough.js --continuous
"Remove all sample data from my project."
node skills/security/generate-security-sample-data/scripts/sample-data.js --cleanup
tags: ["elastic-security-sample-data"] for safe cleanup. The cleanup command
only deletes documents with this marker._source.tags for matching sample
documents from the last 14 days..alerts-security.alerts-default — they do not require detection rules to
be installed or enabled.case-management skill for creating investigation cases from alerts.generate, --cleanup, --continuous) prompt for confirmation. Pass --yes or -y to skip
when called by an agent.--cleanup runs deleteByQuery across all sample data indices — verify environment variables point to the intended
cluster before running.--continuous mode indexes events indefinitely until manually stopped with Ctrl+C.| Variable | Required | Description |
|---|---|---|
ELASTICSEARCH_URL |
Yes | Elasticsearch URL |
ELASTICSEARCH_API_KEY |
Yes* | Elasticsearch API key |
ELASTICSEARCH_USERNAME |
Yes* | Elasticsearch username (alternative) |
ELASTICSEARCH_PASSWORD |
Yes* | Elasticsearch password (alternative) |
KIBANA_URL |
No | Kibana URL (for case creation and links) |
KIBANA_USERNAME |
No | Kibana username (if using Kibana features) |
KIBANA_PASSWORD |
No | Kibana password (if using Kibana features) |
*Either API key or username/password is required for Elasticsearch.
Make data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
shadcn/improve
mattpocock/skills
parcadei/continuous-claude-v3
cursor/plugins
ailabs-393/ai-labs-claude-skills
ailabs-393/ai-labs-claude-skills
Solid pick for teams standardizing on skills: security-generate-security-sample-data is focused, and the summary matches what you get after install.
I recommend security-generate-security-sample-data for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
We added security-generate-security-sample-data from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
security-generate-security-sample-data reduced setup friction for our internal harness; good balance of opinion and flexibility.
Registry listing for security-generate-security-sample-data matched our evaluation — installs cleanly and behaves as described in the markdown.
Useful defaults in security-generate-security-sample-data — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
security-generate-security-sample-data fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Registry listing for security-generate-security-sample-data matched our evaluation — installs cleanly and behaves as described in the markdown.
security-generate-security-sample-data has been reliable in day-to-day use. Documentation quality is above average for community skills.
security-generate-security-sample-data is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 39