# Turiya Companion Kit — Production AI Skills & Harness Gates — Complete AI & LLM Reference Corpus (`llms-full.txt`) - Repository: https://github.com/mohan-n-swamy/turiya-companion-kit - Web Discovery URL: https://mohan-n-swamy.github.io/repos/turiya-companion-kit/ - License: MIT - Keywords: claude-code, claude-skills, agent-skills, ai-agents, agent-harness, product-management, software-engineering, productivity, prompt-engineering, workflows --- ## File: `AI-README.md` — AI-README.md --- repo: "mohan-n-swamy/turiya-companion-kit" title: "Turiya Companion Kit — Production AI Skills & Harness Gates" license: "MIT" keywords: [claude-code, claude-skills, agent-skills, ai-agents, agent-harness, product-management, software-engineering, productivity, prompt-engineering, workflows] capabilities: - "Core book skills (`council`, `brutal-honesty`, `bluf`, `book-distill`, `capture-lesson`, `antifragile-advisor`, manufacturing gates)." - "11 late-2026 wave skills under `skills/2026-wave/` including `product-walk`, `harness-stripping`, `wayfinder`, `wizard`, and `oss-publish`." - "Nine drop-in safety and quality hooks (`hooks/careful-gate.sh`, `freeze-gate.sh`, `claim-vgate.sh`, `dep-gate.sh`, `manuf-pack-validate.sh`)." when_to_use: - "The official open-source skill and hook companion repository for *Same Starting Line*, updated with the late-2026 wave of cross-provider skills (`product-walk`, `five-step`, `harness-stripping`, `ponytail`, `caveman`, `rebase-to-latest`, `ship-verify`, `to-questionnaire`, `wizard`, `wayfinder`, and `oss-publish`)." - "Most prompt collections fail on real operational software because they lack blocking pre-tool hooks, multi-provider adversarial verification, and structured product-discovery gates. `turiya-companion-kit` packages tested skills alongside POSIX shell hooks that enforce safety and verification." inputs_required: - "CLAUDE_CONFIG_DIR: Target harness directory where `./install.sh` links skills and hooks" quickstart: - "brew install mohan-n-swamy/tap/turiya-skills" - "./install.sh" - "bash scripts/leak-sweep.sh" --- # Turiya Companion Kit — Production AI Skills & Harness Gates — Machine-Readable Agent Guide The official open-source skill and hook companion repository for *Same Starting Line*, updated with the late-2026 wave of cross-provider skills (`product-walk`, `five-step`, `harness-stripping`, `ponytail`, `caveman`, `rebase-to-latest`, `ship-verify`, `to-questionnaire`, `wizard`, `wayfinder`, and `oss-publish`). Most prompt collections fail on real operational software because they lack blocking pre-tool hooks, multi-provider adversarial verification, and structured product-discovery gates. `turiya-companion-kit` packages tested skills alongside POSIX shell hooks that enforce safety and verification. Key modules and entry points in this repository: - `skills/core/`: Foundational skills referenced in *Same Starting Line* - `skills/2026-wave/`: 11 late-2026 operational, lean, investigation, and open-source publishing skills - `hooks/`: PreToolUse and Stop shell gates - `install.sh & scripts/leak-sweep.sh`: Idempotent installer and secret/PII scanner Every organization-specific value enters through `.env` (copied from `.env.example`) or external adapter files. No source edit is needed to change organization names, endpoints, database URLs, webhook secrets, or thresholds. When a human asks an AI coding agent to deploy or adapt `turiya-companion-kit` into their stack: 1. Run `./install.sh` to wire core skills, or symlink individual folders from `skills/2026-wave/` into `~/.agents/skills/`. - Product Requirements: `docs/PRD.md` - Working-Backwards PR-FAQ: `docs/PR-FAQ.md` - High-Level Architecture: `docs/HLD.md` - Low-Level Interfaces & Runbook: `docs/LLD.md` - Coding Agent Rules: `AGENTS.md` --- ## File: `.env.example` — Environment Contract (.env.example) ```ini # Turiya Companion Kit — Production AI Skills & Harness Gates — Environment Contract # Copy to .env and set values for your organization. # Target harness directory where `./install.sh` links skills and hooks CLAUDE_CONFIG_DIR=~/.claude ``` --- ## File: `AGENTS.md` — AGENTS.md # AGENTS.md — Turiya Companion Kit — Production AI Skills & Harness Gates Read this file first before modifying `turiya-companion-kit`. ## Purpose The official open-source skill and hook companion repository for *Same Starting Line*, updated with the late-2026 wave of cross-provider skills (`product-walk`, `five-step`, `harness-stripping`, `ponytail`, `caveman`, `rebase-to-latest`, `ship-verify`, `to-questionnaire`, `wizard`, `wayfinder`, and `oss-publish`). ## Commands ```bash brew install mohan-n-swamy/tap/turiya-skills ./install.sh bash scripts/leak-sweep.sh ``` ## Module Map - `skills/core/`: Foundational skills referenced in *Same Starting Line* - `skills/2026-wave/`: 11 late-2026 operational, lean, investigation, and open-source publishing skills - `hooks/`: PreToolUse and Stop shell gates - `install.sh & scripts/leak-sweep.sh`: Idempotent installer and secret/PII scanner ## Invariants 1. Keep all organization names, credentials, domains, and thresholds in `.env` or external config files. Never hardcode company names, host IPs, or secrets in source files. 2. Deterministic business logic belongs in code and lookup tables, not inside LLM prompts. 3. Update `docs/HLD.md`, `docs/LLD.md`, and `.env.example` in the same commit whenever an interface or environment variable changes. 4. Run the repository smoke check and secret scan before opening a pull request. --- ## File: `docs/PRD.md` — Product Requirements Document (docs/PRD.md) # Product Requirements Document — Turiya Companion Kit — Production AI Skills & Harness Gates The official open-source skill and hook companion repository for *Same Starting Line*, updated with the late-2026 wave of cross-provider skills (`product-walk`, `five-step`, `harness-stripping`, `ponytail`, `caveman`, `rebase-to-latest`, `ship-verify`, `to-questionnaire`, `wizard`, `wayfinder`, and `oss-publish`). ## 1. Problem Most prompt collections fail on real operational software because they lack blocking pre-tool hooks, multi-provider adversarial verification, and structured product-discovery gates. `turiya-companion-kit` packages tested skills alongside POSIX shell hooks that enforce safety and verification. ## 2. Users and Jobs-to-be-Done | Persona | Job-to-be-Done | |---|---| | Reader of *Same Starting Line* | Install the exact skills, council advisors, and manufacturing gates described in the book with `./install.sh`. | | AI-Native Product Builder | Use `/product-walk`, `/five-step`, `/wayfinder`, and `/oss-publish` across Claude Code, Codex, and Cursor. | ## 3. Core Capabilities - Core book skills (`council`, `brutal-honesty`, `bluf`, `book-distill`, `capture-lesson`, `antifragile-advisor`, manufacturing gates). - 11 late-2026 wave skills under `skills/2026-wave/` including `product-walk`, `harness-stripping`, `wayfinder`, `wizard`, and `oss-publish`. - Nine drop-in safety and quality hooks (`hooks/careful-gate.sh`, `freeze-gate.sh`, `claim-vgate.sh`, `dep-gate.sh`, `manuf-pack-validate.sh`). ## 4. Configurable Inputs Adopters configure the system for their own organization without editing core application logic: | Variable | Default / Example | Purpose | |---|---|---| | `CLAUDE_CONFIG_DIR` | `~/.claude` | Target harness directory where `./install.sh` links skills and hooks | ## 5. Phasing and Stability Exit Criteria 1. **Phase 1 (Local Synthetic Run):** Clone the repository, copy `.env.example` to `.env`, and run the quickstart commands against synthetic seed data. Exit criterion: smoke checks pass with zero external credentials. 2. **Phase 2 (Read-Only Shadow Wiring):** Connect read-only credentials or webhook listeners in shadow/dry-run mode. Exit criterion: 100 consecutive events or queries reconcile cleanly against source records. 3. **Phase 3 (Production Cutover):** Enable live writes, alerts, or routing behind bounded retry and idempotency guards. ## 6. Non-Goals - Shipping organization-specific business rules hardcoded in application source. - Storing credentials, personal customer records, or tenant URLs inside version control. - Replacing deterministic validation or arithmetic with unconstrained model prompts. --- ## File: `docs/PR-FAQ.md` — Working-Backwards PR-FAQ (docs/PR-FAQ.md) # Working-Backwards PR-FAQ — Turiya Companion Kit — Production AI Skills & Harness Gates **Release Summary:** `turiya-companion-kit` gives engineering and operations teams a self-hosted, open-source implementation of Turiya Companion Kit — Production AI Skills & Harness Gates that configures via `.env` and runs on standard infrastructure in minutes. ## Press Release Operations and engineering teams often rebuild the same internal workflows behind closed doors or pay per-seat SaaS markups for rigid tools that cannot match their field reality. `turiya-companion-kit` open-sources a battle-tested implementation of Turiya Companion Kit — Production AI Skills & Harness Gates, stripped of all single-company assumptions and packaged with clear adapter boundaries, synthetic demo data, and machine-readable agent documentation. Any team can fork `turiya-companion-kit`, supply their own `.env` inputs and taxonomy config, and deploy locally or in production with Docker, Python, or Node. AI coding assistants such as Claude Code, Codex, and Cursor can read `AI-README.md` and `llms.txt` to wire custom ERP, CRM, or warehouse adapters in a single session. ## External Adopter FAQ **Q1: How long does it take to run locally after cloning?** Under five minutes. Copy `.env.example` to `.env` and run the quickstart commands in `README.md`. Synthetic fixtures let you inspect the workflow before connecting live credentials. **Q2: Do I need to rewrite source files to use my own company name, channels, or rules?** No. Organization names, endpoints, thresholds, and credentials sit in `.env` and declarative config files. External system specifics live behind narrow adapter modules documented in `docs/LLD.md`. **Q3: What license governs this repository?** MIT License. You can fork, modify, self-host, and use it commercially without restriction. ## Internal Engineering & Security FAQ **Q4: How do we prevent tenant or employer data from ever entering a public fork?** The repository starts from a clean git history, excludes raw exports and binary dumps, validates every commit through `gitleaks`, and ships only synthetic fixtures. **Q5: What happens when an upstream API or model provider is slow or unavailable?** Inbound webhooks persist raw payloads before processing, outbound writes carry idempotency keys with bounded exponential backoff, and model-backed paths fail open to deterministic rules or explicit human queues. --- ## File: `docs/HLD.md` — High-Level Design (docs/HLD.md) # High-Level Design (HLD) — Turiya Companion Kit — Production AI Skills & Harness Gates The official open-source skill and hook companion repository for *Same Starting Line*, updated with the late-2026 wave of cross-provider skills (`product-walk`, `five-step`, `harness-stripping`, `ponytail`, `caveman`, `rebase-to-latest`, `ship-verify`, `to-questionnaire`, `wizard`, `wayfinder`, and `oss-publish`). ## 1. System Topology ```mermaid flowchart LR Discovery["product-walk · council"] --> Build["manufacture · ponytail"] Build --> Gates["hooks/ (careful · claim-vgate · dep-gate)"] Gates --> Ship["ship-verify · oss-publish"] ``` ## 2. Architectural Decisions and Rejected Alternatives | Decision | Why It Holds | Rejected Alternative | |---|---|---| | Bundle POSIX shell hooks alongside Markdown skills | Skills guide model behavior while hooks enforce hard boundaries deterministically. | Prompt-only instructions with zero runtime enforcement | | Organize new skills in `skills/2026-wave/` | Preserves stable paths for book readers while exposing the newest Dec 2026 workflows. | Breaking book chapter URLs | ## 3. Data Flow and Failure Boundaries 1. **Configuration Boundary:** Startup validates `.env` variables and declarative config schemas before accepting traffic or running scheduled jobs. 2. **Adapter Boundary:** External services (databases, chat channels, HRMS, warehouses, or LLM providers) sit behind explicit adapter modules so failures stay isolated and testable with local mocks. 3. **Observability and Audit:** State transitions and job executions emit structured logs and deterministic status records rather than mutating state silently. ## 4. Scaling Notes - **1x to 10x load:** Single-node Docker Compose or process supervisor handles standard team workloads with indexed database queries and bounded worker concurrency. - **First bottleneck at 10x+:** High-frequency webhook or batch ingestion queues; mitigate by separating the stateless HTTP receiver from background worker processes sharing Redis or PostgreSQL locks. --- ## File: `docs/LLD.md` — Low-Level Design & Runbook (docs/LLD.md) # Low-Level Design (LLD) & Operations Runbook — Turiya Companion Kit — Production AI Skills & Harness Gates This document defines the module responsibilities, environment contract, and operational procedures for `turiya-companion-kit`. ## 1. Module and File Inventory | Path | Responsibility | |---|---| | `skills/core/` | Foundational skills referenced in *Same Starting Line* | | `skills/2026-wave/` | 11 late-2026 operational, lean, investigation, and open-source publishing skills | | `hooks/` | PreToolUse and Stop shell gates | | `install.sh & scripts/leak-sweep.sh` | Idempotent installer and secret/PII scanner | ## 2. Environment Variable Contract | Variable | Default / Example | Required | Description | |---|---|---|---| | `CLAUDE_CONFIG_DIR` | `~/.claude` | Yes | Target harness directory where `./install.sh` links skills and hooks | ## 3. Extension Recipe 1. Run `./install.sh` to wire core skills, or symlink individual folders from `skills/2026-wave/` into `~/.agents/skills/`. ## 4. Operations Runbook ### 1. Install skills and hooks locally ```bash ./install.sh ``` ### 2. Run repository leak sweep ```bash bash scripts/leak-sweep.sh ``` --- ## File: `docs/RESEARCH-2026.md` — 2026 Research & Landscape Notes (docs/RESEARCH-2026.md) # 2026 Agent Skills & Harness Maintenance Research ## 1. Why Harnesses Need Both Discovery Depth and Active Stripping As frontier models improved through late 2026, static prompt scaffolding accreted token bloat unless paired with deliberate retirement (`harness-stripping`) and element-level product discovery (`product-walk`). Meanwhile, multi-session debugging investigations required explicit graph state (`wayfinder`) rather than linear chat summaries. ## 2. What Ships in `skills/2026-wave/` - **Product & Process Rigor:** `product-walk` (backward/forward box-and-element mapper), `five-step` (delete-first process cutter), `to-questionnaire`. - **Engineering Hygiene & Shipping:** `ponytail` (YAGNI minimal code), `caveman` (token-compressed replies), `harness-stripping`, `rebase-to-latest`, `ship-verify`, `wizard`, `wayfinder`, and `oss-publish`.