Skip to content

XxYouDeaDPunKxX/ai-protocol-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

58 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧰✨ ai-protocol-kit

🧭 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. πŸ§ͺπŸ§±πŸŒπŸ€–


🚦 Start here: choose by situation

Do not pick a protocol by name first. 🧩
Pick it by the failure mode you want to prevent. ⚠️

🐣 I have a rough idea, but it is not ready for execution

Use these when the work is still fuzzy, overloaded, or easy for AI to collapse too quickly. 🌫️➑️🧱

🧾 I need to brief AI before it builds, writes, or implements

Use these when the goal is to turn intent into an execution-ready brief. πŸŽ―πŸ“πŸ› οΈ

🐞 I need AI to inspect, review, or preserve findings

Use these when evidence, uncertainty, observations, bugs, or claims must stay separated. πŸ”ŽπŸ§ͺπŸ“Œ

🧠 I need AI to reason before it acts

Use these when the problem is not just unclear, but structurally easy to collapse, misread, over-simplify, or resolve with a fake compromise. πŸ§ βš–οΈπŸ”

πŸ™ I am working on GitHub, GitHub Pages, a public repo, or a project page

Use these when the work touches repositories, README files, GitHub Pages, badges, telemetry, discovery files, public project pages, or publication hygiene. πŸ™πŸ“¦πŸŒπŸš€

βš™οΈ I need AI to operate across files, tools, repo state, or multiple passes

Use these when the AI session itself needs stronger behavior rails. πŸ€–πŸ§­πŸ§°


🧭 Protocol map

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 ⚠️ degraded without Canvas β€” see note below Β· πŸ”Ί Triad Orchestration

⚠️ Canvas compatibility note
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.



πŸ§ͺ Minimal stacks

Default rule: use one protocol. ☝️
Stack only when one protocol controls the session and another controls the artifact or publication target. πŸ§±βž•πŸ§­

πŸ™ Publish a GitHub repository cleanly

  1. 🚦 GitHub Repository Publication Preparation Protocol v2
  2. πŸ“ GitHub README Framing and Authoring Protocol v2
  3. πŸ“Š GitHub Badge, Telemetry & Counter Protocol v1.2.3 only if badges, counters, analytics, or validation checks are actually needed

🌐 Prepare a public project page or GitHub Pages surface

  1. 🌐 Public Page Publication Protocol v2
  2. 🧱 HTML Page & Tool Briefing Protocol v2 if implementation briefing is needed
  3. 🧿 GitHub Pages Discovery Set Protocol v1 or πŸ›°οΈ HTML and Website Discovery Set Protocol v1.2 before publishing

🐞 Review messy findings without losing evidence

  1. 🐞 Field Findings & Bugs Protocol v2
  2. πŸŒ€ PHI-Lens Protocol v4.a only if constraints conflict and a flat compromise would be misleading

🧠 Reason through a hard, ambiguous, or constraint-heavy task

  1. πŸ” Pre-Task Expansion Protocol v1 if the task may collapse too quickly into the obvious answer
  2. πŸ“‘ System Reading Protocol v0.2 if the real system behavior matters more than declared intent
  3. πŸŒ€ PHI-Lens Protocol v4.a only if constraints interact and the output needs an explicit gate

βš™οΈ Run a complex AI-assisted repo or file session

  1. βš™οΈ GPT Agentic Posture Contract
  2. πŸ”Ί Triad AI Orchestration Protocol v3 only if executor/reviewer separation is needed
  3. 🐞 Field Findings & Bugs Protocol v2 if findings must be captured as evidence

🧷 How to use a protocol

  1. 🎯 Pick the protocol closest to the actual job.
  2. πŸ“‹ Paste or upload the protocol into the AI context before execution.
  3. πŸ“¦ Provide the target material: files, repo snapshot, page, README, bug report, idea, or constraints.
  4. βœ… 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 reference

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.

🧰 What this is for

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. πŸ§ͺπŸ› οΈ


🚫 What this is not

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. πŸ›‘οΈβš–οΈπŸ”


πŸ”§ Repository status

Active working kit. πŸ§ͺ
Protocols may evolve as they are tested in real workflows. πŸ”


πŸ€– AI-assisted development

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. πŸ§ͺπŸ“Œ


🏷️ License

Creative Commons Attribution-ShareAlike 4.0 International. πŸ“„πŸŒ

See LICENSE. βœ…

About

Behavior Contract and Protocols for AI-assisted work. Covers various scenarios such as output shaping, publication, HTML structure, discovery setup, task prep, and more. Built by a non-dev who needed things to not break. No theory. Operational.

Topics

Resources

License

Stars

Watchers

Forks

Contributors