Skip to content
Back to skills

Guardian Secure Prompt

ASecurity

Use when the user is about to implement a coding task and wants Apiiro security requirements added to it (\"make this prompt more secure\", \"what security should I consider\"). Full STRIDE report on a design: guardian-threat-model.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 11, 2026
securitybashgitapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add apiiro/marketplace --skill guardian-secure-prompt --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Guardian Secure Prompt?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Guardian Secure Prompt
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/apiiro-guardian-secure-prompt/badge)](https://www.skillsdirectory.com/skills/apiiro-guardian-secure-prompt)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: guardian-secure-prompt
description: "Use when the user is about to implement a coding task and wants Apiiro security requirements added to it (\"make this prompt more secure\", \"what security should I consider\"). Full STRIDE report on a design: guardian-threat-model."
---

# Apiiro Secure Prompt

Takes a coding task and returns it with security requirements injected. The enhanced prompt preserves the original business intent while adding targeted security considerations based on the repository context.

This is different from `apiiro threat-model` — secure-prompt enhances a task you're about to code, while threat-model produces a standalone STRIDE analysis report.

## Usage

Requires a repository monitored by Apiiro: auto-detects it from the current git repository, or pass `--repository-key <key>`.

```bash
apiiro secure-prompt "implement user authentication with JWT"
apiiro secure-prompt "add file upload endpoint"
apiiro secure-prompt "build payment processing module" -o json
apiiro secure-prompt "implement OAuth flow" -f enhanced.txt
apiiro secure-prompt "build payment module" --force   # Bypass classifier gate
```

On `unknown command 'secure-prompt'` (older CLI), use `apiiro guardian secure-prompt` with the same arguments.

Options: `--repository-key <key>`, `--force` (bypass classifier gate), `-o, --output <json|text>` (default: text), `-f, --file <path>`.

Text output returns the original prompt followed by the security requirements (or the prompt unchanged when there's nothing to add). JSON output includes `success`, `enrichment`, `gate_decision`, and `error` fields.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.