π§ Choose the right AI working contract before you ask AI to work.
ai-protocol-kit is a collection of practical AI protocols for making AI-assisted work more structured, inspectable, and repeatable. π οΈπβ»οΈ
These are not magic prompts. πͺπ«
They are working contracts: instructions you give to an AI so it knows how to approach a task, what to check, what not to assume, when to stop, and what kind of output is acceptable. πβ
π
The protocols are experimental and shaped from real workflows: rough ideas, repository reviews, README work, GitHub publication, public pages, bug findings, structured outputs, and complex sessions where AI needs stronger rails before it acts. π§ͺπ§±ππ€
Do not pick a protocol by name first. π§©
Pick it by the failure mode you want to prevent.
Use these when the work is still fuzzy, overloaded, or easy for AI to collapse too quickly. π«οΈβ‘οΈπ§±
- π§© Idea Shaping Protocol v1
- π Pre-Task Expansion Protocol v1
- 𧬠Structural Shaping Protocol v1
- π‘ System Reading Protocol v0.2
Use these when the goal is to turn intent into an execution-ready brief. π―ππ οΈ
Use these when evidence, uncertainty, observations, bugs, or claims must stay separated. ππ§ͺπ
Use these when the problem is not just unclear, but structurally easy to collapse, misread, over-simplify, or resolve with a fake compromise. π§ βοΈπ
Use these when the work touches repositories, README files, GitHub Pages, badges, telemetry, discovery files, public project pages, or publication hygiene. ππ¦ππ
- π¦ GitHub Repository Publication Preparation Protocol v2
- π GitHub README Framing and Authoring Protocol v2
- π§Ώ GitHub Pages Discovery Set Protocol v1
- π GitHub Badge, Telemetry & Counter Protocol v1.2.3
- π Public Page Publication Protocol v2
- π°οΈ HTML and Website Discovery Set Protocol v1.2
Use these when the AI session itself needs stronger behavior rails. π€π§π§°
- βοΈ GPT Agentic Posture Contract
- πΊ Triad AI Orchestration Protocol v3
- π PHI-Lens Protocol v4.a
Some protocols appear in more than one lane because they can play different roles. That is intentional, but stacking is still not the default. ππ
| Lane | Use when | Protocols |
|---|---|---|
| π£ Shape the work | The task is ambiguous, premature, overloaded, or underspecified. | π§© Idea Shaping Β· π Pre-Task Expansion Β· 𧬠Structural Shaping Β· π‘ System Reading |
| π§Ύ Brief the artifact | AI needs a clear brief before writing, building, or structuring output. | π§± HTML Page & Tool Briefing Β· π£οΈ Output for Real Readers |
| π Review findings and evidence | The job is inspection, bugs, uncertainty, evidence, or claim control. | π Field Findings & Bugs Β· π‘ System Reading |
| π§ Reasoning, constraints & system reading | The task needs expansion, system interpretation, or constraint-aware reasoning before output. | π Pre-Task Expansion Β· π‘ System Reading Β· π PHI-Lens |
| π GitHub / public repo & page publishing | The work touches GitHub, Pages, README, public pages, discovery files, badges, or publication hygiene. | π¦ Repository Publication Β· π README Framing Β· π§Ώ Pages Discovery Β· π Badge/Telemetry Β· π Public Page Publication Β· π°οΈ Website Discovery |
| βοΈ Govern agentic sessions | AI must operate with tools, files, repo state, review loops, or multi-pass control. | βοΈ Agentic Posture |
The GPT Agentic Posture Contract depends on Canvas as a separate, persistent execution ledger. Since OpenAIβs May 28, 2026 GPT-5.5 update, Canvas is no longer available in GPT-5.5 Instant or GPT-5.5 Thinking. Without Canvas, the contract remains useful as posture guidance, but it should not be treated as a full agentic execution protocol.
A limited workaround may still exist in some ChatGPT sessions: start from a model or flow where Canvas can still be opened, open Canvas first, then invoke the contract only after the assistant can see Canvas editing tools. This is fragile, UI-dependent, and not contractual.
Default rule: use one protocol. βοΈ
Stack only when one protocol controls the session and another controls the artifact or publication target. π§±βπ§
- π¦ GitHub Repository Publication Preparation Protocol v2
- π GitHub README Framing and Authoring Protocol v2
- π GitHub Badge, Telemetry & Counter Protocol v1.2.3 only if badges, counters, analytics, or validation checks are actually needed
- π Public Page Publication Protocol v2
- π§± HTML Page & Tool Briefing Protocol v2 if implementation briefing is needed
- π§Ώ GitHub Pages Discovery Set Protocol v1 or π°οΈ HTML and Website Discovery Set Protocol v1.2 before publishing
- π Field Findings & Bugs Protocol v2
- π PHI-Lens Protocol v4.a only if constraints conflict and a flat compromise would be misleading
- π Pre-Task Expansion Protocol v1 if the task may collapse too quickly into the obvious answer
- π‘ System Reading Protocol v0.2 if the real system behavior matters more than declared intent
- π PHI-Lens Protocol v4.a only if constraints interact and the output needs an explicit gate
- βοΈ GPT Agentic Posture Contract
- πΊ Triad AI Orchestration Protocol v3 only if executor/reviewer separation is needed
- π Field Findings & Bugs Protocol v2 if findings must be captured as evidence
- π― Pick the protocol closest to the actual job.
- π Paste or upload the protocol into the AI context before execution.
- π¦ Provide the target material: files, repo snapshot, page, README, bug report, idea, or constraints.
- β Let the protocol control the workflow: questions, gates, review, assumptions, stop conditions, and final output.
Do not stack protocols casually. π
Use the smallest set that fits the task. π§ββοΈ
| Protocol | Best use |
|---|---|
| π§Ώ GitHub Pages Discovery Set Protocol v1 | Prepare GitHub Pages user/org sites, project sites, or custom-domain Pages sites with correct publication roots, discovery files, canonical URLs, sitemap, robots handling, and low-noise machine-readable footer links without breaking GitHub Pages path rules. |
| π¦ GitHub Repository Publication Preparation Protocol v2 | Prepare a repository for clean GitHub publication, forcing project classification, workspace and risk audit, minimal file/package decisions, GitHub feature choices, and confirmation before commits, remotes, Pages, or push. |
| π GitHub Badge, Telemetry & Counter Protocol v1.2.3 | Decide which badges, counters, analytics, traffic checks, or validation checks make sense for a GitHub repo or GitHub Page without adding vanity widgets. |
| π GitHub README Framing and Authoring Protocol v2 | Write or restructure a GitHub repository README from repository evidence, reader fit, and the real job the README must perform. |
| βοΈ GPT Agentic Posture Contract | Make ChatGPT work more like Codex: tool-aware, grounded in real files and artifacts, ledger-based, verification-oriented, and willing to stop when the task is not ready. |
| π Public Page Publication Protocol v2 | Prepare, restructure, or publish a public page, landing page, showcase, portfolio page, documentation entrypoint, or GitHub Pages site with page role, audience, metadata, accessibility, links, visual identity, and publication risks closed before deploy or push. |
| π§© Idea Shaping Protocol v1 | Turn a rough idea into a clear structure before asking AI to write, plan, design, or build anything. |
| π§± HTML Page & Tool Briefing Protocol v2 | Guide an AI from raw intake to a complete implementation brief for a static HTML page, web surface, or local tool. |
| π Field Findings & Bugs Protocol v2 | Capture findings and bugs as structured artifacts while keeping evidence, inference, uncertainty, relations, and later promotion separate. |
| π°οΈ HTML and Website Discovery Set Protocol v1.2 | Prepare static HTML pages or websites with machine-readable discovery files, head metadata, canonical URLs, sitemap, robots rules, and low-noise footer links. |
| π PHI-Lens Protocol v4.a | Handle non-trivial AI tasks where constraints interact and a flat compromise would hide the dominant force, counterforce, or asymmetry. |
| π Pre-Task Expansion Protocol v1 | Stop an AI from collapsing too quickly into the obvious answer by exposing alternative readings, tensions, and surrounding shape first. |
| π£οΈ Output for Real Readers Protocol v2 | Write guides, README text, emails, pages, forms, instructions, or reader-facing material with reader, purpose, tone, constraints, and language closed before drafting. |
| 𧬠Structural Shaping Protocol v1 | Shape ambiguous input into operational form before synthesis, with gates, evidence level, source boundaries, and artifact direction explicit. |
| π‘ System Reading Protocol v0.2 | Read the gap between declared intent and observable behavior to extract the operative principle of a system without premature solutions. |
| πΊ Triad AI Orchestration Protocol v3 | Run a review loop between an executing AI near the real target and a reviewing AI over snapshots, repo state, diffs, or files while preserving target authority and patch/test evidence. |
Use this kit when you want AI-assisted work to be more: β¨
- π inspectable
- β»οΈ repeatable
- π§± structured
- π§ constrained
- π repository-aware
- π honest about stop conditions
- π explicit about evidence and assumptions
It is useful for practical, messy, non-theoretical situations where the AI should not simply improvise from a vague prompt. π§ͺπ οΈ
This is not a replacement for judgment. π§
These protocols do not guarantee correctness. They reduce common failure modes: rushing to the obvious answer, writing for the wrong reader, inventing unsupported claims, treating chat summaries as repository truth, publishing before review, or letting AI tools approve their own work.
They also do not override higher-priority instructions. Safety, legality, privacy, data integrity, and tool limits remain above any protocol in this kit. π‘οΈβοΈπ
Active working kit. π§ͺ
Protocols may evolve as they are tested in real workflows. π
This project was developed with AI assistance. π€π€
The project, documentation, and repository materials were shaped through human-directed work supported by AI tools during drafting, structuring, review, and refinement. π§βοΈπ
AI assistance does not make the project automatically correct, complete, or suitable for every use case. Read it, test it, and adapt it to your own context. π§ͺπ
Creative Commons Attribution-ShareAlike 4.0 International. ππ
See LICENSE. β