- Home
- Skills
- Prompt & Skill Engineering
- PromptBox — Dynamic Prompt & Variable Workflow
PromptBox — Dynamic Prompt & Variable Workflow
by yu xiong
Slash-style prompt library & dynamic variable engine for Claude Code, Codex, and Cursor — 8 pro templates included.
$10
What it does
- Recall and rank saved prompts instantly with slash-style prefix, title, category, or pinned priority
- Render dynamic [var] and {{var}} templates with defaults, strict enums, and multi-line code/diff/log blocks
- Validate, search, inspect, and export portable JSON prompt libraries using a zero-dependency Python 3 CLI
Who it's for
Developers and engineers using AI editors
Save and run your favorite coding prompts with shortcuts and smart placeholders.
Try asking: “/review Language=Python Focus=Security code=app.py”
Technical writers and marketers
Create a library of reusable writing templates that stay consistent every time.
Try asking: “/rewrite Tone=Professional text=here is my draft...”
Data analysts and SQL users
Turn rough SQL queries into optimized code using a library of data templates.
Try asking: “/sql Engine=PostgreSQL Goal=Speed sql=SELECT * FROM users”
PromptBox — Dynamic Prompt & Variable Workflow
Example session with this skill installed
/review Language=Python Focus=Security code=def login(): print('login')
- Read your context and instructions
- Compiled the promptbox
I will run the code-review-refactor template for your Python code with a focus on Security.
Code Review Summary
The provided code is a basic placeholder. From a security perspective, printing sensitive actions to standard logs can lead to information leakage in production environments.
Suggested Refactor
I have updated the code to use a standard logging library which is more secure and configurable.
import logging
logger = logging.getLogger(__name__)
def login():
# Use a proper logging level for security auditing
logger.info('Login attempt initiated')
Review Checklist
- Security: Avoided using
printfor sensitive flow tracing. - Performance: Minimal overhead added.
- Edge Cases: Ensure the logger is configured before use.
Would you like me to check this against a specific security standard or apply more changes?
Connects securely to your tools. The creator never sees your data.
About this skill
Turn your AI coding agent into a structured prompt powerhouse — zero browser extensions required.
PromptBox Workflow extracts the core slash-command recall, dynamic variable engine, and portable JSON library architecture from PromptBox into a standalone, zero-dependency Skill for Claude Code, Codex CLI, and Cursor.
Core Capabilities
- Slash-Style Rapid Recall: Rank and trigger saved prompts by pinned priority, prefix, title, or category.
- Smart Dynamic Variables: Supports both
[var]and{{var}}syntax, defaults ([Language=TypeScript]), strict enum choices ([Tone:Concise|Executive|Technical]), and multi-line code/diff/log blocks ([code],[diff],[logs],[sql]). - Zero-Dependency CLI (
scripts/promptbox.py): Runlist,search,inspect,render --strict, andexport-jsonwith Python 3 standard library only.
8 Ready-to-Use Templates Included (templates/)
code-review-refactor.md— Security, performance & edge-case code review + clean refactorbug-root-cause-debug.md— Stack-trace root-cause analysis & minimal regression fixpr-commit-changelog.md— Structured PR summary & release notes from git diffsapi-spec-architecture.md— Data model, API contract & rollout checklisttest-suite-generator.md— Deterministic Vitest / Jest / pytest edge-case suitessql-query-optimizer.md— Sargable SQL rewrites &CREATE INDEXrecommendationsexecutive-polish-rewrite.md— High-signal technical & executive copy editingfirst-principles-brief.md— First-principles technical breakdowns with worked examples
Quick Example
python scripts/promptbox.py render code-review-refactor --var Language=Python --var Focus=Security --var-file code=src/auth.py --strict
The skill requires you to provide the text or code for variables that don't have a default value. It works best if you keep your prompts in the provided folder structure.
Built for Claude Code, Codex, and Cursor using a system of Markdown templates and a prompts.json library. Uses a Python helper script (promptbox.py) for rendering Mustache and bracket-style variables. Supports variable types like defaults, enums, and multiline blocks for code snippets. Includes logic for template ranking based on pins, prefix matches, and category tags.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
Permissions
What's inside
Frequently Asked Questions
New in Prompt & Skill Engineering
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Prompt & Skill Engineering.