More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    genprompt

    1

    Generates grounded, context-locked prompts for Claude Code with file citations and repo-specific quality gates.

    Free

    Security scanned
    genprompt

    genprompt

    Example session with this skill installed

    Write a security prompt for the login and password-reset code in ~/code/shopfront.

    • Read your context and instructions
    • Compiled the genprompt

    TARGET LOCK: confirm or correct

    Repo        shopfront · /home/dev/code/shopfront
                branch main (default main) · tree clean · via argument
    Occupancy   free
    Scope       single root
    Stack       Node 20 · Express 4.19 · TypeScript 5.4 · Prisma 5.14 · role backend API engineer
    Contract    CLAUDE.md · hard rules: "feature branches only, never push to main" (CLAUDE.md:12),
                "no new dependencies without asking" (CLAUDE.md:19)
    Ancestors   none found · user-level: ~/.claude/CLAUDE.md
    Truth       docs/auth.md, then CLAUDE.md
    Gates       npm run lint (script) · npm run typecheck (script) · npm test (script, vitest)
    New docs    docs/security/YYYY-MM-DD-<topic>.md → docs/security/2026-10-13-auth-review.md
    Archetype   Q: security · autonomy: Phase 1 read-only, Phase 2 behind an approval gate
    Last prompt none
    

    Reply "go" to accept, or correct any line.

    You: go

    Date2026-10-13
    ArchetypeQ: security review and hardening (§5.Q)
    Target repo/home/dev/code/shopfront · branch main · scope single root
    Followsnone

    Grounded by: a read-only pass over src/routes/auth.ts, src/services/reset.ts, src/app.ts and
    src/middleware/. Findings that reshaped the prompt:

    • The rate limiter is mounted on /api only (src/app.ts:31). The /auth routes are outside it.
    • The reset token is compared with === (src/services/reset.ts:47), not a constant-time compare.
    • Whether used reset tokens are deleted is [UNVERIFIED]: no delete call found in reset.ts.
    Repo: /home/dev/code/shopfront (branch main)
    Read CLAUDE.md FIRST. Where this prompt and CLAUDE.md disagree, follow CLAUDE.md and tell me.
    Task: security review of login and password reset, then fix what is safe to fix now.
    HARD LINES: local only; never touch production or any remote system; never print secret values;
    never weaken a control to pass a test.
    
    ATTACK SURFACE, as I read it (verify, then extend):
    - POST /auth/login (src/routes/auth.ts:14): anonymous; no rate limit (src/app.ts:31 mounts it on /api)
    - POST /auth/reset/request (src/routes/auth.ts:41): anonymous; sends mail via src/services/mail.ts
    - POST /auth/reset/confirm (src/routes/auth.ts:58): anonymous; token check at src/services/reset.ts:47
    
    CURRENT-STATE SKEPTICISM: docs/auth.md:22 says "all auth routes are rate-limited". src/app.ts:31
    says otherwise. Believe the code, and record the doc drift.
    
    PHASE 1 (READ-ONLY): threat model + findings.
    - Check: enumeration via login and reset responses, brute force, token entropy, expiry and reuse,
      timing-safe compares, session fixation, cookie flags, secrets in the repo, npm audit (read-only).
    - Write docs/security/2026-10-13-auth-review.md with a findings table:
    
      | ID | Severity | file:line | Evidence (quoted) | Repro | Recommendation | FIX-NOW or RECORD |
    
      No speculative findings. Checked and retired items go in a FALSE POSITIVES table.
    STOP after Phase 1 and show me the FIX-NOW list. Do not start Phase 2 until I say so.
    
    PHASE 2: fix the FIX-NOW items only, on a feature branch (CLAUDE.md:12).
    Each fix lands with a test proving the attack is refused AND the legitimate case still works.
    RECORD, DO NOT ACT: lockout policy and reset-token lifetime are product decisions. Record them.
    
    WHAT YOU CANNOT DO: production config, mail-provider settings, secret rotation. List what you need.
    
    VERIFICATION: run before every commit. Never commit red.
        npm run lint
        npm run typecheck
        npm test
    Record the baseline numbers first. Expected delta: tests up by at least one per fix.
    DON'T: add dependencies (CLAUDE.md:19), push to main, touch files outside src/ and the doc.
    DEFINITION OF DONE: doc written; approved fixes landed green with tests; nothing else changed.
    REPORT: findings count by severity, gate numbers before and after, commits with SHAs,
    `git status` at the end, and "no files outside scope touched" confirmed.
    Start with Phase 1 now.
    
    #ItemVerdictReason
    1Target resolvedPASSvia argument
    2Repo anchorPASSabsolute path + branch
    3Task statementPASSline 3
    4Contract + ancestorsPASSCLAUDE.md first; ancestors scanned, none found
    5Source of truthPASSdocs/auth.md flagged stale
    6SkepticismPASSdocs/auth.md:22 vs src/app.ts:31
    7GroundingPASSfile:line throughout; one [UNVERIFIED]
    8Literal gatesPASSthree scripts from package.json
    9Baseline + deltaPASSworker records it; up per fix
    10Negative scopePASSsrc/ and one doc only
    11AutonomyPASSPhase 2 behind an approval gate
    12Git posturePASSfeature branch, never push to main
    13Stop-listPASSprod config, mail, secrets
    14Report specPASSnegative confirmation + git status
    15Terminal imperativePASS"Start with Phase 1 now."
    16One block, no placeholdersPASSchecked
    17Doc namingPASSdocs/security/ date convention
    18FollowsN/Afirst prompt for this repo
    19Numbers labelledN/Ano worker numbers yet
    20HygienePASSno leaked specifics; tree free
    21LengthPASSwithin the Program (350) budget
    22ArchivedPASSsee path below

    Saved: ~/.genprompt/generated-prompts/shopfront/2026-10-13-security-auth-login-reset.md

    Next: paste the prompt into a second Claude Code chat. When the worker stops after Phase 1,
    paste its report back here and genprompt writes the Phase 2 rulings.

    CLAUDE.md

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Prompting a coding agent well takes real work: finding the right files, the repo's actual lint and test commands, its house rules, and what the last session actually landed. genprompt does that groundwork. It turns one Claude Code chat into a prompt generator: it reads your repo read-only and writes one ready-to-paste prompt for a second "worker" chat. When the worker finishes, paste its stop-report back in and genprompt writes the next prompt.

    What it does

    • Target lock. Before writing anything it shows the repo, branch, scope, stack, the repo's CLAUDE.md rules and the gate commands it found, and waits for your "go".
    • Grounding. Every load-bearing instruction cites file:line. Anything it could not check is marked [UNVERIFIED]; it never invents a path, script, SHA or count.
    • Literal gates. Lint, typecheck, test and build commands come from the repo's real scripts, labelled by source. If there are no tests, the prompt says so.
    • 23 archetypes. slice, fix, audit, review, plan, design, test, perf, security, upgrade, cleanup, docs, commit, release, next, resume and more, each with its own template and length budget.
    • Self-check. It runs a 22-row checklist on its own prompt and prints the table under it.
    • Archive. Every prompt is saved to ~/.genprompt/ on your machine, so the next prompt can follow on from the last one.

    How it works

    1. Ask for a prompt in plain words or by archetype: "a security prompt for the login code", "slice item 3 of docs/roadmap.md".
    2. Confirm the TARGET LOCK (repo, branch, scope, contract, gates, archetype), or correct any line.
    3. Copy the prompt. You get one fenced block with a stop-list, a definition of done and a report spec.
    4. Paste the worker's stop-report back and genprompt checks it against git before writing the next prompt.

    Frameworks & tools

    Built for Claude Code. Works with any language or framework; the stack matrix covers the common ecosystems. Uses git read-only (it also works without git, with less grounding). Python 3 is needed only for the optional doctor integrity check.

    Why this beats prompting it yourself

    A worker agent follows what the prompt tells it. If the prompt guesses a test command, misremembers a file or skips the repo's branching rule, the worker builds on that mistake. genprompt checks each of those facts in the repo before it writes the prompt, and shows you what it could not check.

    Use cases

    • Slicing a roadmap: one vertical slice per prompt, with checkpoints and gates.
    • Fixes and hotfixes: a per-defect repro, acceptance test and false-positive list.
    • Audits and security reviews: read-only findings with evidence at file:line, then fix only what you approve.
    • Commits and releases: a staging manifest, the branch and push policy from the repo's own rules, and approval for every outward-facing step.
    • Long-running work: paste each stop-report back to get the next prompt.

    Known limitations

    genprompt writes prompts. It does not change your code and never runs builds, tests or installs; the worker chat you paste the prompt into does that. It writes only to ~/.genprompt/. Generated prompts are written for Claude Code; other agents are untested.

    Free and MIT-licensed. For all 29 /genprompt: slash commands, install the plugin from github.com/Sh0aib-Ja0allah/genprompt

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 7 days ago

    • Free to download with an account

    Listed7 days ago

    What's inside

    Frequently Asked Questions