
Meta Cognition Parallel
Run experimental three-layer parallel meta-cognition on a Rust design question when sequential answers miss language, design, and domain tradeoffs.
Overview
Meta-cognition parallel is an agent skill most often used in Build (also Ship, Operate) that runs experimental three-layer parallel analysis on Rust questions before committing to an architecture.
Install
npx skills add https://github.com/actionbook/rust-skills --skill meta-cognition-parallelWhat is this skill?
- Experimental v0.2.0 coordinator runs Layer 1 (language mechanics), Layer 2 (design choices), Layer 3 (domain constraints
- Triggers: `/meta-parallel`, 三层分析, parallel analysis, 并行元认知
- Agent mode uses parallel sub-analyzers; inline mode can run layers sequentially then synthesize
- Cross-layer synthesis in main context aims at a domain-correct architectural solution
- Explicit `argument-hint: <rust_question>` for scoped Rust prompts
- Three parallel cognitive layers (L1 language, L2 design, L3 domain)
- Experimental version 0.2.0
Adoption & trust: 851 installs on skills.sh; 1.2k GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
You have a nuanced Rust question and one-shot answers keep collapsing language details, design tradeoffs, and domain rules into a shallow plan.
Who is it for?
Advanced solo builders exploring Rust crate design, concurrency, or API boundaries who want structured multi-angle analysis via `/meta-parallel`.
Skip if: Beginners needing rustc error explanations only, or non-Rust stacks where the three-layer Rust model does not apply.
When should I use this skill?
Triggers on `/meta-parallel`, 三层分析, parallel analysis, 并行元认知, or a hard Rust architectural question needing three-layer synthesis.
What do I get? / Deliverables
You receive a synthesized, cross-layer architectural recommendation after parallel Layer 1–3 analysis on your stated Rust question.
- Cross-layer synthesis document
- Domain-oriented architectural recommendation
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
Rust architectural decisions land hardest during backend build, but the same analysis applies when refactoring or diagnosing production Rust. Backend is the canonical shelf for Rust crate/API design questions the skill targets with Layer 1–3 analysis.
Where it fits
Compare async runtime and error-type choices before scaffolding a new Rust API crate.
Stress-test a PR’s trait boundaries and domain invariants with parallel layers before approval.
Re-evaluate a production bottleneck where language mechanics and domain rules conflict.
How it compares
Experimental parallel reasoning workflow for Rust—not a linter, test runner, or generic brainstorming skill.
Common Questions / FAQ
Who is meta-cognition-parallel for?
Experienced solo builders working in Rust who want coordinated language, design, and domain analysis on hard architectural questions.
When should I use meta-cognition-parallel?
In Build when designing Rust backends; in Ship when reviewing a design before merge; in Operate when re-architecting after domain constraints surfaced in production—invoke with `/meta-parallel` and your Rust question.
Is meta-cognition-parallel safe to install?
It is experimental (v0.2.0); review the Security Audits panel on this page and treat outputs as advisory until you validate in your repo.
SKILL.md
READMESKILL.md - Meta Cognition Parallel
# Meta-Cognition Parallel Analysis (Experimental) > **Status:** Experimental | **Version:** 0.2.0 | **Last Updated:** 2025-01-27 > > This skill tests parallel three-layer cognitive analysis. ## Concept Instead of sequential analysis, this skill launches three parallel analyzers - one for each cognitive layer - then synthesizes their results. ``` User Question │ ▼ ┌─────────────────────────────────────────────────────┐ │ meta-cognition-parallel │ │ (Coordinator) │ └─────────────────────────────────────────────────────┘ │ ├─── Layer 1 ──► Language Mechanics ──► L1 Result │ ├─── Layer 2 ──► Design Choices ──► L2 Result │ ├── Parallel (Agent Mode) │ │ or Sequential (Inline) └─── Layer 3 ──► Domain Constraints ──► L3 Result │ ▼ ┌─────────────────────────────────────────────────────┐ │ Cross-Layer Synthesis │ │ (In main context with all results) │ └─────────────────────────────────────────────────────┘ │ ▼ Domain-Correct Architectural Solution ``` ## Usage ``` /meta-parallel <your Rust question> ``` **Example:** ``` /meta-parallel 我的交易系统报 E0382 错误,应该用 clone 吗? ``` ## Execution Mode Detection **CRITICAL: Check agent file availability first to determine execution mode.** Try to read layer analyzer files: - `../../agents/layer1-analyzer.md` - `../../agents/layer2-analyzer.md` - `../../agents/layer3-analyzer.md` --- ## Agent Mode (Plugin Install) - Parallel Execution **When all layer analyzer files exist at `../../agents/`:** ### Step 1: Parse User Query Extract from `$ARGUMENTS`: - The original question - Any code snippets - Domain hints (trading, web, embedded, etc.) ### Step 2: Launch Three Parallel Agents **CRITICAL: Launch all three Tasks in a SINGLE message to enable parallel execution.** ``` Read agent files, then launch in parallel: Task( subagent_type: "general-purpose", run_in_background: true, prompt: <content of ../../agents/layer1-analyzer.md> + "\n\n## User Query\n" + $ARGUMENTS ) Task( subagent_type: "general-purpose", run_in_background: true, prompt: <content of ../../agents/layer2-analyzer.md> + "\n\n## User Query\n" + $ARGUMENTS ) Task( subagent_type: "general-purpose", run_in_background: true, prompt: <content of ../../agents/layer3-analyzer.md> + "\n\n## User Query\n" + $ARGUMENTS ) ``` ### Step 3: Collect Results Wait for all three agents to complete. Each returns structured analysis. ### Step 4: Cross-Layer Synthesis With all three results, perform synthesis per template below. --- ## Inline Mode (Skills-only Install) - Sequential Execution **When layer analyzer files are NOT available, execute analysis directly:** ### Step 1: Parse User Query Same as Agent Mode - extract question, code, and domain hints from `$ARGUMENTS`. ### Step 2: Execute Layer 1 - Language Mechanics Analyze the Rust language mechanics involved: ```markdown ## Layer 1: Language Mechanics **Error/Pattern Identified:** - Error code: E0XXX (if applicable) - Pattern: ownership/borrowing/lifetime/etc. **Root Cause:** [Explain why this error occurs in terms of Rust's ownership model] **Language-Level Solutions:** 1. [Solution 1]: description 2. [Solution 2]: description **Confidence:** HIGH | MEDIUM | LOW **Reasoning:** [Why this confidence level] ``` **Focus areas:** - Ownership rules (move, copy, borrow) - Lifetime annotations - Borrowing rules (shared vs mutable) - Error codes and their meanings ### Step 3: Execute Layer 2 - Design Choices Analyze the design patterns and trade-offs: ```mar