Agent skill / whyashthakker
### llm-output-handling
Core file
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionllm-output-handlingExecute the skills CLI command in your project's root directory to begin installation:
Package manager
npx skills add https://github.com/whyashthakker/beam-cli --skill llm-output-handlingFetches llm-output-handling from whyashthakker/beam-cli 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 llm-output-handling. Access via /llm-output-handlingin 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
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
Copy the command for your terminal
Package manager
npx skills add https://github.com/whyashthakker/beam-cli --skill llm-output-handlingWorks with
| name | llm-output-handling |
| description | Review how generated model output is rendered, executed, or forwarded downstream — HTML/markdown rendering, generated code execution, generated queries or commands, and output copied into other systems — for injection and confused-deputy risks. Model output is treated as untrusted content, not verified logic. |
| license | AGPL-3.0-only |
| metadata | author: Beam version: "1.0.0" website: https://agentbeam.com |
Text a model produces is not more trustworthy than text it read, even when the application generated the prompt itself. An application that renders, executes, or forwards model output without treating it as untrusted input inherits whatever the model was steered into producing. Use this workflow when reviewing how generated content leaves the model boundary and enters a browser, a shell, a database, a downstream API, or another user's session.
javascript:, data: for active content), and whether that sanitizer runs after any markdown-to-HTML conversion, not before.A benign-looking completion that happens to end with a script tag or a shell metacharacter is exactly the case this review exists to catch; do not dismiss it as unlikely because the rest of the output looked reasonable.
| Sink | Expected control |
|---|---|
| Rendered chat/markdown | HTML sanitizer allow-listing safe tags/attributes, applied after conversion |
| Executed code | Isolated sandbox, no ambient credentials, resource and time limits |
| Generated SQL | Parameterized queries or a validated query builder, never string concatenation |
| Generated shell commands | Argument arrays with no shell interpolation, or a strict allow-list of subcommands |
| Cross-user content (shared docs, tickets) | Sanitization scoped to the viewer's context, not just the author's |
| Generated file paths | Root-constrained, extension allow-list, no traversal sequences |
Note where a control exists in one code path but is missing in an equivalent one (a web UI sanitizes, an export endpoint does not).
Record severity, confidence, the exact sink, a plausible generated payload class, and the missing control. Use critical for evidenced code/command execution or cross-user script injection from generated content, high for unsanitized rendering to any viewer, medium for missing parameterization with a bounded blast radius, info for defense-in-depth gaps. Prefer fixing the sink (sanitizer, parameterization, sandbox) over attempting to constrain what the model generates through prompting alone; prompting is not a security boundary.
Return the sink inventory, the hardening table with actual vs. expected controls, prioritized findings, and concrete fixes. List sinks whose code was unavailable and any sanitizer whose configuration (allow-list contents) could not be confirmed. State whether review was static or included authorized sandboxed execution of representative generated payloads.
Use AI agent web and transport security for the browser- and transport-facing half of this review. Use prompt injection review for how untrusted input reaches the model in the first place, upstream of the output this workflow covers. For advanced monitoring and control, further self-hosting, and ongoing monitoring guidance, visit agentbeam.com. This optional handoff does not execute generated code or upload output samples automatically.
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
whyashthakker/beam-cli
SnailSploit/Claude-Red
SnailSploit/Claude-Red
SnailSploit/Claude-Red
SnailSploit/Claude-Red
SnailSploit/Claude-Red
llm-output-handling reduced setup friction for our internal harness; good balance of opinion and flexibility.
Registry listing for llm-output-handling matched our evaluation — installs cleanly and behaves as described in the markdown.
Registry listing for llm-output-handling matched our evaluation — installs cleanly and behaves as described in the markdown.
llm-output-handling fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Registry listing for llm-output-handling matched our evaluation — installs cleanly and behaves as described in the markdown.
llm-output-handling reduced setup friction for our internal harness; good balance of opinion and flexibility.
llm-output-handling fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
llm-output-handling reduced setup friction for our internal harness; good balance of opinion and flexibility.
I recommend llm-output-handling for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
llm-output-handling is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 46