PromptBox — Dynamic Prompt & Variable Workflow

    by yu xiong

    1

    Slash-style prompt library & dynamic variable engine for Claude Code, Codex, and Cursor — 8 pro templates included.

    $10

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    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

    1. Security: Avoided using print for sensitive flow tracing.
    2. Performance: Minimal overhead added.
    3. 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): Run list, search, inspect, render --strict, and export-json with Python 3 standard library only.

    8 Ready-to-Use Templates Included (templates/)

    1. code-review-refactor.md — Security, performance & edge-case code review + clean refactor
    2. bug-root-cause-debug.md — Stack-trace root-cause analysis & minimal regression fix
    3. pr-commit-changelog.md — Structured PR summary & release notes from git diffs
    4. api-spec-architecture.md — Data model, API contract & rollout checklist
    5. test-suite-generator.md — Deterministic Vitest / Jest / pytest edge-case suites
    6. sql-query-optimizer.md — Sargable SQL rewrites & CREATE INDEX recommendations
    7. executive-polish-rewrite.md — High-signal technical & executive copy editing
    8. first-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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    This skill helps you stop retyping the same complex instructions by creating a library of templates. You can call up detailed prompts for things like code reviews, SQL optimization, or professional rewrites using simple slash shortcuts like /review or /rewrite.

    You get a set of 8 ready-to-use templates for engineering and writing, plus a system that handles smart placeholders. It can automatically fill in details like programming languages or tones based on your defaults or specific choices you provide during the chat.

    Beyond your AI agent, this skill uses Markdown files for your templates and a JSON file to keep your prompt library organized. It also includes a Python script that helps the agent fill in your template variables and export your library if needed.

    You can ask your agent to list available templates, search for a specific one by keyword, or run a shortcut. For example, you can say /debug along with your code and error logs, and the skill will fill in the template to start the analysis.

    This skill requires you to provide the specific code blocks or text when a template asks for them. It works best when your folders are organized so the agent can easily locate the library files and the Python helper script.

    Yes, the skill is designed to handle different types of placeholders, including required single-line inputs, default values, and multi-line blocks for things like code snippets or long transcripts. It ensures that all blanks are filled before the final prompt is run.

    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.