askill
advisory

advisorySafety 100Repository

Ad-hoc security guidance — strategic security advice, quick questions, and contextual framework references

3 stars
1.2k downloads
Updated 2/15/2026

Package Files

Loading files...
SKILL.md

⛔ SINGLE-AGENT ROUTING - READ THIS FIRST

STOP. This skill uses the advisor agent for all phases.

PhaseAgentWork Type
1 - IntakeadvisorContext gathering, mode selection, scope definition
2 - AnalyzeadvisorThreat modeling (STRIDE/PASTA), code analysis (OWASP/CWE), research
3 - RecommendadvisorPrioritized recommendations (P0-P3), framework mapping
4 - DocumentadvisorProfessional report creation, metadata
5 - DeliveradvisorPresentation, critical item highlighting, follow-up

Identity check: If you are NOT the advisor agent AND the request is complex (architecture review, code review, threat modeling, comprehensive guidance) → DELEGATE NOW.

DO NOT proceed without the correct agent → DELEGATE:

Task(subagent_type="advisor", prompt="Execute advisory skill. Request: {user_request}")

Path 1 - Simple (Tier 1/Haiku): General security questions

  • "What is STRIDE threat modeling?"
  • "How do I secure my API?"
  • Routes directly, no delegation needed

Path 2 - Complex (Advisor Agent): Full reviews and assessments

  • "Review my application architecture for security"
  • "Perform a security code review"
  • Requires full 5-phase pipeline

Advisory Skill

Ad-hoc security guidance with research integration. For architecture reviews use /security-review; for code reviews use /code-review.


Chain Map

/advisory → (QUICK) → direct response with framework references
          → (STANDARD+) → phases/00-workflow.md → 01→02→03→04→05 → ad-hoc/{topic}-{date}/

Note: Architecture reviews route to /security-review (skills/security-review/). Code reviews route to /code-review (skills/code-review/). Code reviews use the shared phases/ pipeline in this directory.

All files follow the universal prompt structure: docs/guides/universal-prompt-structure.md


Supporting Documentation

Read these supporting documents as needed during execution:

  1. docs/threat-modeling-guide.md - STRIDE, PASTA, Attack Trees reference (if present)
  2. docs/secure-coding-standards.md - OWASP, CWE reference (if present)

Model Tier Routing

This skill uses the three-tier orchestration engine for cost-optimal execution:

Routing Decision Tree:

  • Quick security questions and guidance: Tier 1 (Free) - $0.00
  • Architecture and code reviews with STRIDE/PASTA: Sonnet (primary)
  • Complex threat modeling and strategic guidance: Sonnet

Why Sonnet for advisory?

  • 5-phase workflow (intake, analyze, recommend, document, deliver)
  • Deep analysis of architectures and code with framework references (STRIDE, OWASP ASVS, CWE)
  • Large context for threat models and security recommendations
  • Professional-grade output for stakeholder-facing deliverables

How it works:

  1. User invokes /advisory
  2. Base Claude analyzes request complexity
  3. Quick questions route to Tier 1 direct response, thorough guidance routes to Sonnet + 5-phase pipeline
  4. Phases execute with proper framework references
  5. Actionable recommendations delivered in ad-hoc/{topic}-{date}/

Pre-flight Checklist (MANDATORY)

STOP! Before executing this skill:

  • Read this SKILL.md completely
  • Verified agent routing (advisor agent active, or delegated)
  • Classified effort level (QUICK/STANDARD/THOROUGH)
  • Confirmed mode is AD-HOC (for security review → /security-review; for code-review → /code-review)
  • If THOROUGH: Understand the full 5-phase pipeline

USE WHEN

Use for: Ad-hoc security questions, quick security guidance, strategic security advice, framework references (NIST, OWASP, CIS), contextual recommendations without a full review

Don't use for:

  • Architecture security reviews with threat modeling → /security-review
  • Code-level security reviews with CWE classification → /code-review
  • Active penetration testing → /pentest
  • Vulnerability scanning → /vuln-scan
  • Compliance framework assessment → /compliance
  • Infrastructure hardening → /harden

Quick Start

/advisory                    # Ad-hoc security guidance
/advisory [question]         # Quick security question

For architecture reviews: Use /security-review (STRIDE/PASTA threat modeling) For code reviews: Use /code-review (OWASP/CWE vulnerability detection)

Optional inputs: Provide a company name and/or URL to auto-discover technology stack and security history during intake.

Output: private/output/advisory/ad-hoc/{topic}-{YYYY-MM-DD}/


5-Phase Workflow

┌─────────┐     ┌─────────┐     ┌──────────┐     ┌──────────┐     ┌─────────┐
│ INTAKE  │────▶│ ANALYZE │────▶│RECOMMEND │────▶│ DOCUMENT │────▶│ DELIVER │
│         │     │         │     │          │     │          │     │         │
└────┬────┘     └────┬────┘     └────┬─────┘     └────┬─────┘     └────┬────┘
     │               │               │                │               │
     ▼               ▼               ▼                ▼               ▼
  Context &      Threat model    Prioritized      Professional    Present +
  Scope          or findings     recs (P0-P3)     report          follow-up
PhaseNameGate CriteriaOutput
1INTAKEContext and scope documentedMode, scope, requirements, research-brief.md (Step 2b)
2ANALYZEAnalysis completeThreat model / findings / research
3RECOMMENDRecommendations prioritized and actionableP0-P3 recommendations with framework refs
4DOCUMENTProfessional report completeFull deliverable set + metadata.json
5DELIVERUser has deliverables and next stepsSummary, critical items, follow-up

Phase files: phases/01-intake.md through phases/05-deliver.md


Phase 1: INTAKE (Context and Scope)

Gather context, determine mode, define scope for the advisory engagement.

Mode Selection

TriggerModeEffortNext Action
"security question", "advice", "guidance"AD-HOCQUICK/STANDARDGather question context
"architecture review", "threat model"Redirect to /security-review
"code review", "review this code"Redirect to /code-review

Automated Research (Step 2b)

After gathering initial context, Phase 1 automatically researches detected technologies using NVD and WebSearch before asking follow-up questions. This enables informed questions (e.g., "I found CVE-XXXX affecting your stack — what version are you running?") instead of generic ones.

  • Company context: If company name or URL provided, WebFetch + WebSearch discover the technology stack and security history
  • AD-HOC: Parses question for technology keywords → WebSearch + NVD (if security-related)
  • QUICK mode: Skips automated research entirely
  • Non-blocking: All research failures are logged and skipped — never blocks the workflow

Phase File: phases/01-intake.md


Phase 2: ANALYZE (Security Analysis)

Perform security analysis based on mode.

ModeMethodologyOutput
AD-HOCResearch best practices, framework guidanceresearch.md
CODE-REVIEWOWASP Top 10 and CWE Top 25 vulnerability scanningFINDINGS.md

Phase File: phases/02-analyze.md


Phase 3: RECOMMEND (Prioritized Recommendations)

Generate prioritized, actionable recommendations.

PriorityCriteriaTimeline
P0 - CriticalImmediate risk, exploitable nowFix immediately
P1 - HighSignificant risk, likely exploitableFix within sprint
P2 - MediumModerate risk, harder to exploitPlan remediation
P3 - LowMinor risk, defense-in-depthBacklog

Phase File: phases/03-recommend.md


Phase 4: DOCUMENT (Professional Report)

Create professional deliverables for stakeholders.

Deliverables

AD-HOC: request.md, research.md, recommendations.md, references.md, FULL-REPORT.md

Phase File: phases/04-document.md


Phase 5: DELIVER (Presentation and Follow-up)

Present deliverables, highlight critical items, offer follow-up commands.

  • Summary of all deliverables with locations
  • Critical findings emphasized (P0 items)
  • Follow-up suggestions (/pentest, /compliance, /harden)
  • User feedback capture

Phase File: phases/05-deliver.md


Output Structure

private/output/advisory/
└── ad-hoc/
    └── {topic}-{YYYY-MM-DD}/
        ├── research-brief.md           # (optional, from Phase 1 Step 2b)
        ├── request.md
        ├── research.md
        ├── recommendations.md
        ├── references.md
        └── FULL-REPORT.md

Note: code-reviews/ subdirectory also exists in output/ and is written by skills/code-review/. Architecture reviews write to private/output/security-review/ (managed by skills/security-review/). The advisory output/ directory is shared for ad-hoc and code-review modes.


Framework References

Cite relevant controls from security frameworks:

FrameworkUse For
NIST CSF 2.0Overall security guidance
OWASP Top 10Web application security
CWE Top 25Code vulnerability classification
CIS ControlsInfrastructure hardening
STRIDEThreat modeling (Spoofing, Tampering, Repudiation, Info Disclosure, DoS, Elevation)
PASTARisk-centric threat modeling

Error Recovery

ErrorRecovery
Missing contextAsk user for requirements (code path or question)
Scope creepRedirect to appropriate skill (pentest, compliance, security-review)
Insufficient documentationRequest code location or clarifying question
Mode unclearAsk user to clarify: quick guidance or code review? For architecture reviews, use /security-review

File Management

What belongs in skills/advisory/docs/:

  • How-to guides for using this skill
  • API or integration reference documentation
  • Command reference and workflow explanations
  • Troubleshooting guides
  • Setup and configuration guides

What does NOT belong here:

  • Audit reports or assessment logs → delete (commit messages capture purpose)
  • Bug fix notes → delete (git blame shows what changed and why)
  • Progress tracking files → update /private/docs/active-tracker.md instead
  • Books/PDFs → See private/docs/book-catalog.md for discovery
  • Engagement output → /private/output/{skill}/
  • Engagement input → /private/input/{skill}/
  • Working notes from development → delete (git history captures work)

Skill data locations:

  • Input data: /private/input/advisory/
  • Output data: /private/output/advisory/
  • Reference materials: See private/docs/book-catalog.md (search by tag or domain)

Version: 2.2 | Last Updated: 2026-02-17 | Status: Active | Structure: Universal Prompt Structure v2.0

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

94/100Analyzed 2/22/2026

Highly professional and well-structured security advisory skill with comprehensive 5-phase workflow, clear routing logic, framework references (NIST, OWASP, CWE, STRIDE, PASTA), and excellent organization. Includes USE WHEN section, pre-flight checklist, model tier routing, error recovery, and file management guidelines. Located in dedicated skills folder with relevant tags. Very low internal-only signal - appears designed for public framework use with generic security methodology.

100
95
90
95
92

Metadata

Licenseunknown
Version-
Updated2/15/2026
Publishernotchrisgroves

Tags

apici-cdgithub-actionsllmpromptingsecurity