Install
$ agentstack add skill-dimkurilo-opencode-skills-vs-architect ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ● Network access Used
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
VS Architect — Agent Instructions
Two-Phase Workflow
PHASE 1: VS Analysis
Distribution prompt → k variants with probabilities → user selects
PHASE 2: Execution Prompt
Selected variant → detailed implementation prompt (no VS)
Step 0: Input Validation
- Task context present (3+ facts: task/constraints/what was tried/files/prompt) → proceed. Any format is valid.
- **No input or 0.5 (stability)
- Output format: headers + sections (human-readable), JSON (subagent)
- Language: preserve user's input language
- Do not use XML tags — headers are equally readable
PHASE 2: Execution Prompt
Step 5: Construction
After user selects a variant — build an execution prompt without VS:
Task: [selected variant from VS analysis]
Context: [what is already known, constraints]
What to do:
- [concrete steps]
- [which files/systems]
- [constraints]
Output format: [what is expected]
Agent1st: Mode: [mode], injection for subagent calls.
Step 6: Output Format
## VS-ARCHITECT RESULT
### ANALYSIS
- Complexity: [...]
- Type: [...]
- Variants: [...]
- Constraints: [...]
### PHASE 1: VS ANALYSIS
Pattern: [A/B/C/D/E/F/G/none]
Mode: [...]
VS ANALYSIS PROMPT:
[generated prompt]
ACTION: Select the best variant and say "selecting variant N" — I will build the execution prompt.
### PHASE 2: EXECUTION PROMPT (after selection)
[to be built]
### EXECUTION
1. New DeepSeek V4 session: copy the VS prompt, get hypotheses, select
2. Current session: run VS prompt via subagent or direct dialogue
3. After selection: return — I will build the execution prompt
Agent1st Integration
- Assumption Checkpoint: Complex Mode → diagnostic command before execution
- Failure Packet: 2+ identical errors → 3-field packet. Generate root cause hypotheses using pattern A or C
- Verification: VS analysis — user selected a relevant variant. Execution — test command (curl, test, run)
- Act Immediately: TRIVIAL → skip VS, recommend direct prompt
- Pro Mode: ≥2 unverified external systems → Pro
- Subagent Injection: task() → append 【思维模式要求】 at end of prompt
Patterns Overview
| Pattern | When | What it does | |---------|------|-------------| | A VS-Standard | Moderate complexity, 3-5 variants | Single call → k variants with probabilities | | B Diversity Tuning | Uniform responses from direct prompt | Filters by probability threshold (p 0.5) | | C VS-CoT | Uncertainty, diagnostics, strategy | Step-by-step reasoning first, then variant distribution | | D VS-Multi | Need 10+ variants | Multiple rounds, each round excluding previous ideas | | E External Collapse | External constraints LLM doesn't know about | User weights variants by own criteria (budget, time) | | F VS-Refine | Interesting ideas need elaboration | First pass → variants, second pass refines top picks | | G VS-Ensemble | Critical decision needs cross-validation | Two independent VS prompts, results compared |
See references/vs-theory.md for complete decision tree, classification axes, and templates. See references/examples.md for real-world usage examples.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: dimkurilo
- Source: dimkurilo/opencode-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.