Skip to content
Back to skills

Second Opinion

ASecurity

Load for a cross-model review, challenge, audit, or quick consult.

  • 92 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 6, 2026
ai-agentsgobashgit

Works with

  • cursor
  • cli

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add vanillagreencom/kendex --skill second-opinion --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Second Opinion?

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

Security grade badge for Second Opinion
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vanillagreencom-second-opinion/badge)](https://www.skillsdirectory.com/skills/vanillagreencom-second-opinion)

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: second-opinion
description: "Load for a cross-model review, challenge, audit, or quick consult."
license: MIT
user-invocable: true
argument-hint: "review [scope] | challenge [description] | audit [path] | quick [question]"
metadata:
  author: "vanillagreen"
  source: "kendex"
  repository: "https://github.com/vanillagreencom/kendex"
  bugs: "https://github.com/vanillagreencom/kendex/issues"
---

<!-- kendex:project-instructions:start -->
## Project Instructions

<!-- kendex:shared-instructions:start -->
Problems with a kendex-owned skill go through `kendex report`; check ownership in the file first.
<!-- kendex:shared-instructions:end -->
<!-- kendex:project-instructions:end -->

# Second Opinion

Cross-model second opinion via external AI CLI. Full contract: `second-opinion --help`.

```bash
.agents/skills/second-opinion/scripts/second-opinion <mode> [options]
```

## Workflows

| Command | Workflow | Output |
|---------|----------|--------|
| `review [scope]` | [workflows/review.md](workflows/review.md) | Review finding JSON |
| `challenge [description]` | [workflows/challenge.md](workflows/challenge.md) | Structured critique (text) |
| `audit [path]` | [workflows/audit.md](workflows/audit.md) | Review finding JSON |
| `quick [question]` | [workflows/quick.md](workflows/quick.md) | Text response |
| `detect` | (built-in) | Target name(s) a review would run |

## Execution Rules

- Execute every section of the workflow in order.
- Never skip a section on your own scope assessment.
- `<output_format>` tags are literal templates:
  - Fill `[PLACEHOLDERS]`.
  - Omit empty lines.
  - Add nothing else.
  - Do not paraphrase.
- **Pass `--target`** only when the user explicitly requests a specific model or CLI, such as "use Claude" or "ask Codex". Otherwise omit it. The script selects from the roster and the current session's model.
- A forced target that runs this session's model is refused. Report the refusal. Do not work around it.
- **Do not pass `--timeout`** unless the user explicitly asks for a different value for this specific call.
- **Always pass `--cwd`** with the absolute project root path. Never use `--cwd .`.
- Pass `--foreground` when the call can outlast the harness foreground cap. The script then detaches and prints its artifact, deadline and wait command.

## Session identity

- In a multi-model front end (Pi, OpenCode, Cursor, Copilot) or an undetected harness, export `SECOND_OPINION_CURRENT_MODEL` in that session's own environment.
- Set it to `none` when the session has no model.
- Never set it in a project settings file.

Identity resolution, normalization and the refusal rules: `second-opinion --help`.

## Multi-lane review

With `SECOND_OPINION_COUNT` of 2 or more, `review` collects that many distinct opinions on one scope and writes one union artifact. Lane resolution, the union's fields, artifact placement and the failure classes: [references/multi-lane.md](references/multi-lane.md).

## Configuration

- Set non-sensitive defaults in `kendex.settings.toml` under `[env]`. `.env.local` wins over it, and a `.env` file is never read.
- Set a key there only to change a default the scripts already read. `SECOND_OPINION_TARGET` has no default.

Keys, defaults and the built-in commands: `second-opinion --help`.

## Error Handling

On a failed run or a refused target, read [references/error-handling.md](references/error-handling.md).

Files in this skill

  • README.md3.1 KB
  • SKILL.md7.8 KB
  • kendex.settings.toml.example4.7 KB
  • references/multi-lane.md7.8 KB
  • schemas/review-finding-prompt.md2.5 KB
  • scripts/lib/kendex-env.sh16.7 KB
  • scripts/second-opinion-runtime19.9 KB
  • workflows/audit.md2 KB
  • workflows/challenge.md2.3 KB
  • workflows/quick.md1.3 KB
  • workflows/review.md3.5 KB

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 ai-agents →

Comments

Loading comments…

Newsletter

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