Skip to content
ai-consultation logo

AI Consultation Skill

ai-consultation

Provides AI consultation workflows, prompt templates, and best practices for multi-model consultation. Use when user asks for "second opinion", "ask codex", "ask gemini", "AI code review", "external AI consultation", or needs prompt templates for code review, security audit, or architecture analy...

SKILL.md

Full skill instructions

AI Consultation Skill

Methodology and templates for effective AI consultation workflows with external AI tools like Codex and Gemini.

When to Use

  • Getting second opinions from Codex or Gemini CLI
  • Code review consultations
  • Architecture decision validation
  • Security audits with multiple AI perspectives
  • Debugging with alternative diagnostic approaches
  • Performance reviews needing fresh insights

Consultation Types

  1. Code Review / Quality Check - Focus on quality, security, performance, best practices
  2. Architecture / Design Opinion - Focus on structure, patterns, scalability, tradeoffs
  3. Debugging / Root Cause Analysis - Focus on finding causes, suggesting diagnostics
  4. Security Audit - Focus on vulnerabilities, OWASP, auth, data exposure
  5. Performance Review - Focus on bottlenecks, algorithms, optimization opportunities

Key Principles

Safety First

  • Always use sandbox/​read-only mode for consultations
  • External AI tools should not modify files
  • Get user confirmation before any write operations

Critical Thinking

  • Never accept AI suggestions blindly
  • Compare external AI perspective with your own analysis
  • Validate recommendations before presenting
  • Acknowledge when uncertain

Effective Prompts

  • Be specific about files and components to analyze
  • Provide relevant context and constraints
  • Specify desired output format (line numbers, severity ratings)
  • Request prioritization by impact or severity

Resources

See the reference documents for detailed guidance:

  • references/​prompt-templates.md - Ready-to-use prompt templates for all consultation types
  • references/​examples.md - 12 concrete consultation examples with workflows
  • references/​decision-tree.md - Comprehensive decision logic for choosing consultation types
  • references/​consultation-checklist.md - Quality assurance checklist for consultations
  • references/​cli-options.md - AI CLI options reference for Gemini and other tools

Quick Start

Basic Consultation Flow

  1. Identify consultation type - What does the user need?
  2. Prepare the prompt - Use templates, be specific
  3. Execute safely - Always read-only/​sandbox mode
  4. Evaluate critically - Don't accept blindly
  5. Synthesize perspectives - Combine AI insights with your own
  6. Present clearly - Prioritize findings, provide action items

Example Prompt Structure

[ACTION VERB] [COMPONENT] for [PURPOSE].

Focus on:
- [ASPECT 1]
- [ASPECT 2]
- [ASPECT 3]

For each finding:
- Provide line numbers
- Rate severity (Critical/​High/​Medium/​Low)
- Suggest remediation steps

Output Format

When presenting consultation results:

Executive Summary

Brief overview of key findings (2-3 sentences)

AI's Findings

Organized by priority:

  • Critical issues
  • High priority
  • Medium priority
  • Low priority

Your Analysis

Where you agree/​disagree, additional insights

Synthesis & Recommendations

Combined recommendations with actionable next steps

More Security skills

supabase logo
Security

supabase

Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...

2.7K 308.9K
View

Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.

98 216.2K
View

Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.

462 163.8K
View

A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.

462 127.7K
View

Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.

462 125.1K
View

Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.

222 118.2K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View
cloudflare logo
Security

cloudflare

Complete Cloudflare platform integration with decision trees for compute, storage, AI, networking, security, and infrastructure-as-code.

3K 110.7K
View

Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.

253 103K
View
gws-gmail logo
Security

gws-gmail

Send, read, and manage Gmail messages, drafts, labels, and account settings.

31.2K 78.9K
View

Comprehensive website auditing across 230+ rules in 21 categories including SEO, performance, security, and accessibility.

94 72.3K
View
gws-shared logo
Security

gws-shared

Shared authentication, CLI syntax, and output formatting patterns for gws Google Workspace commands.

31.2K 63.4K
View

Security AI tools

StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
GeoSpy logo
Security

GeoSpy

GeoSpy: Pricing, Features, FAQs, and Alternatives for AI Teams

Free
View

Detect AI-generated voices to protect against audio fraud.

Paid
View

Ensure Your Content's Originality with AI Plagiarism Checker

Freemium
View
Img Upscaler logo
Security

Img Upscaler

Upscale images by 400% without quality loss

Freemium
View
AICheatCheck logo
Security

AICheatCheck

Accurately Detect AI-Generated Content with TheChecker.AI

Free
View
D
Security

Detect GPT

Chrome extension that detects and flags AI-generated content

Free
View