MIT Open Source · v1.3.0 · 25 Canonical Stages · 56 Verified Files
The Final Prompt for production-ready software.
An evidence-first, 25-stage master prompt system with JSON contracts, bounded API message assembly, and adversarial release gating. Download the modular MIT package, grab the merged single-file master copy, or wire bounded phases directly to your LLM API and MCP host.
python3 final-prompt/tools/validate_package.py && python3 final-prompt/tools/assemble_api_messages.py --module 1 --module 2 --module 3 --task "Audit wiring gaps" --output ./messages.json
Canonical 25-Stage Pipeline
Inspect any stage prompt directly from the v1.3.0 package, copy raw Markdown, or download the file.
API & MCP Attachment Workbench
Build a bounded messages.json bundle (1–5 stages max, 160,000 char ceiling) and a schema-compliant API_RUN_REQUEST.json payload to wire into your own API host or MCP runner.
Host boundary notice: This workbench runs client-side to assemble trusted prompt bundles and request contracts. Authentication, repo sandboxing, spend caps, and approval enforcement must run in your own API/MCP host outside the model.
# 1. Download messages.json from above (or run assemble_api_messages.py)
# 2. Send to any OpenAI-compatible chat completions endpoint:
curl -X POST https://api.openai.com/v1/chat/completions \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d "$(jq -n --slurpfile msgs messages.json '{model: "gpt-5", messages: $msgs[0], response_format: {type: "json_object"}}')"{
"project_id": "your-project-id",
"repo_ref": "github:org/repo#main",
"target_environment": "staging",
"mode": "deep",
"scope": {
"kind": "entire_repository"
},
"modules": [
"01",
"02",
"03"
],
"budget": {
"allow_paid_calls": false,
"max_run_cost_usd": 5,
"max_tool_calls": 80,
"deadline_seconds": 3600,
"max_model_tokens": 250000
},
"permissions": {
"allow_branch_patches": false,
"allow_production_deploy": false,
"allow_production_data_access": false,
"allow_risky_migrations": false,
"allow_public_branding_change": false,
"allow_legal_publication": false,
"allow_external_communications": false,
"allow_private_guide_generation": false
}
}Downloads & Release Artifacts
Grab the clean MIT-licensed v1.3.0 package, the merged single-file master copy, individual schemas, or archived releases.
Final Prompt v1.3.0 (MIT Integrated API)
Canonical 25-stage suite, merged FINAL_PROMPT_ALL_IN_ONE.md, API/MCP schemas, offline CLI tools, MIT LICENSE (56 files).
Final Prompt v1.1 (Hardened Complete)
Historical 21-stage hardened baseline with Founder's Guide contract.
Final Prompt MCP API v1.0
Historical 19-stage MCP/API specification release.
Final Prompt v1.0 Complete Package
Original 20-module package with all-in-one prompt and FPL spec.
Open Source (MIT License)
The Final Prompt repository includes the canonical final-prompt/ specification, merged FINAL_PROMPT_ALL_IN_ONE.md, JSON schemas, offline Python validators, and this distribution site under the MIT License.
# Validate package integrity locally python3 final-prompt/tools/validate_package.py # Build bounded API messages (1–5 modules) python3 final-prompt/tools/assemble_api_messages.py \ --module 1 --module 2 --module 3 \ --task "Audit repository wiring gaps" \ --output ./messages.json
MIT License Copyright (c) 2026 The Final Prompt Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.