polymath-void/ai-agents-skills-workspace/native-reasoning-lifecycle

Claude Code and agent skill by polymath-void/ai-agents-skills-workspace

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Standard Operating Procedure enforcing a strict 4-phase cognitive lifecycle (Context Injection -> Research -> Strategy -> Execution) with native SQLite DB state injection, HyperTeam pre-compilation, and Leviathan Mesh integration for complex engineering tasks.

Install

npx vskill@latest install polymath-void/ai-agents-skills-workspace/native-reasoning-lifecycle

SKILL.md

The same SKILL.md was published earlier as polymath-void/ai-agents-skills-workspace/native-reasoning-lifecycle.

Native Reasoning Lifecycle Protocol v2

This skill enforces a rigorous cognitive lifecycle for all Antigravity (AGY) swarm agents operating within the Leviathan Mesh ecosystem (OmniOS, ComputeRes, A2A-Swarm, SyntyCode, SyntyEventStream).

🧠 The 4-Phase Lifecycle

Phase 0: CONTEXT INJECTION (Mandatory for Multi-Agent Tasks)

Before any research or coding, pre-compile the workspace context to eliminate redundant exploration.

  • Actions: Run the HyperTeam Context Injector to generate HYPERTEAM_CONTEXT.md.
  • Command: python3 ~/.gemini/config/plugins/hyperteam/skills/hyperteam-orchestrator/scripts/context_injector.py <workspace_dir>
  • Skip Condition: Phase 0 may be skipped ONLY for single-file edits or quick lookups.
Phase 1: RESEARCH

Analyze the environment and constraints using the pre-compiled context.

  • Actions: Read HYPERTEAM_CONTEXT.md instead of scanning the filesystem. Check system architectures, identify Termux/Bionic limitations (SQLite WAL locking, LMK pressure, aarch64 binary constraints).
  • Mandatory: Inject research findings into agy_nodeos.db.
Phase 2: STRATEGY

Synthesize research into a concrete architectural plan with quota awareness.

  • Actions: Define data structures, concurrency models, error-handling (exponential backoff), and testing steps.
  • Quota Rule: If the strategy requires multi-agent delegation, enforce Blitz-3 mode (max 3 workers + 1 verifier). NEVER exceed Blitz-5.
  • File Ownership: If multiple workers will operate simultaneously, define non-overlapping file ownership boundaries.
  • Mandatory: Inject proposed strategy into agy_nodeos.db.
Phase 3: EXECUTION

Implement the strategy, run the code, and verify.

  • Actions: Write code, execute static verification (qa-analyzer), and run functional tests.
  • Post-Execution: Run the HyperTeam Merge Validator: python3 ~/.gemini/config/plugins/hyperteam/skills/hyperteam-orchestrator/scripts/merge_validator.py <workspace_dir>
  • Mandatory: Inject final verification results and completion state into agy_nodeos.db.

šŸ›ļø Leviathan Mesh Integration Awareness

When operating within a Leviathan Mesh workspace, the lifecycle must respect the 5-layer stack:

  1. L1 (A2A-Swarm): Task discovery via UDP broadcast — do NOT poll synchronously.
  2. L2 (SyntyEventStream): All task states MUST be durably logged to SQLite.
  3. L3 (OmniOS): Respect the Void-Governor memory constraints.
  4. L4 (ComputeRes): Execute untrusted or heavy code in the WASM sandbox.
  5. L5 (SyntyCode): Use Architect Schema JSONs for codebase mutations — never raw string editing of AST structures.

šŸ’¾ Native SQLite Injection Template

You must use the following Python snippet at the conclusion of each phase to log your cognitive state into the umbrella database (~/Projects/agy_nodeos.db).

python
import sqlite3
import os
def log_cognitive_phase(task_name, phase_name, thought_process):
# Always resolve to the umbrella workspace DB
db_path = os.path.expanduser("~/Projects/agy_nodeos.db")
conn = sqlite3.connect(db_path)
c = conn.cursor()
c.execute('''CREATE TABLE IF NOT EXISTS agy_cognitive_state
(id INTEGER PRIMARY KEY AUTOINCREMENT,
timestamp DATETIME DEFAULT CURRENT_TIMESTAMP,
task_name TEXT,
thought_process TEXT)''')
formatted_thought = f"{phase_name.upper()}: {thought_process}"
c.execute("INSERT INTO agy_cognitive_state (task_name, thought_process) VALUES (?, ?)",
(task_name, formatted_thought))
conn.commit()
conn.close()
print(f"[AGY Native] Logged {phase_name} to database.")
# Usage Example:
# log_cognitive_phase("Socket Implementation", "CONTEXT_INJECTION", "Ran HyperTeam injector, indexed 42 files...")
# log_cognitive_phase("Socket Implementation", "RESEARCH", "Discovered bionic libc limitations...")

By strictly adhering to this skill, you ensure that the orchestrator, user, and peer agents can dynamically track your evolving reasoning across long-running tasks.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/polymath-void/ai-agents-skills-workspace/native-reasoning-lifecycle/badge)](https://verified-skill.com/skills/polymath-void/ai-agents-skills-workspace/native-reasoning-lifecycle)

Something wrong with this skill or its page? Tell us.