A highly optimized system instruction and developer skill designed to enforce strict token efficiency, direct execution, and zero unnecessary verbosity for AI agents.
Modern LLMs are often overly verbose, writing long explanations, greetings, and conversational filler that consumes valuable context window space and increases response latency. FWFT solves this by establishing strict guidelines that compel models to perform requested work immediately, outputting only what is directly necessary to satisfy the request.
Write a python script that fetches the current price of Bitcoin from a public API, handles rate limits, and saves it to a CSV file.
| Feature | With Skill | Without Skill |
|---|---|---|
| Screenshot | ![]() |
![]() |
| Configuration | Antigravity + Skill | Antigravity Only |
| Purpose | Enhanced capability through skill injection | Baseline Antigravity prompt behavior |
FWFT/
โโโ skill/
โ โโโ fwft-core/
โ โโโ fwft-core-compact.md # Ultra-dense brevity rules for Gemini/Antigravity
โ โโโ fwft-pure-calculation-output.md # Pure Calculation Output (PCO) skill rules
โโโ .cursorrules # Rules for Cursor AI integration
โโโ GEMINI.md # Rules for Antigravity global instructions integration
โโโ skill_router.py # Dynamic skill routing engine for custom agent applications
โโโ README.md # Repository overview and documentation
โโโ LICENSE # MIT License
To maximize token efficiency and minimize prompt latency, use Targeted Workspace Loading (Recommended) rather than installing skills globally.
Place the skill/fwft-core directory inside your active project's workspace:
your-project-root/
โโโ skill/
โโโ fwft-core/
โโโ fwft-core-compact.md
โโโ fwft-pure-calculation-output.md
Then add fwft-core to your active workspace configuration:
{
"skills": [
"fwft-core"
]
}To configure default system instructions globally across all workspaces:
- Copy the GEMINI.md file to your user profile directory:
- Windows (PowerShell):
Copy-Item ".\GEMINI.md" "$env:USERPROFILE\.gemini\GEMINI.md" - macOS / Linux:
cp ./GEMINI.md ~/.gemini/GEMINI.md
- Windows (PowerShell):
- Restart the IDE or initiate a new session to load these global instructions automatically.
If you require fwft-core to be active across all workspaces globally without copying it to each project:
Windows (PowerShell):
Copy-Item -Recurse -Force ".\skill\fwft-core" "$env:USERPROFILE\.gemini\config\skills\fwft-core"macOS / Linux:
cp -r ./skill/fwft-core ~/.gemini/config/skills/fwft-core- Context Caching (Automatic): Antigravity automatically leverages Gemini's native Context Caching. When you load a large skill or system prompt, it is sent fully on the first request. On all subsequent requests in the same conversation, the static prompt tokens are cached. This eliminates the latency and reduces the cost of those tokens by up to 75%.
- Targeted Workspace Loading: Do not install skills globally in
.gemini/config/skills. Keep the global configuration empty. Instead, place skills only in the local workspace directory where they are required, ensuring they are never loaded for irrelevant projects.
To enable FWFT behavior in Cursor:
- Copy the
.cursorrulesfile to the root of your project workspace. - Cursor will automatically detect and apply these rules to all chat, composer, and inline edit sessions.
To enforce FWFT rules with Claude:
- Claude Projects: Copy the content of fwft-core-compact.md and paste it directly into your project's Custom Instructions.
- Claude Desktop: Add the rules as system instructions in your
claude_desktop_config.jsonsystem prompt properties or MCP server prompts.
To use FWFT with Codex or other OpenAI models:
- Pass the raw text of fwft-core-compact.md as the System Message (or Developer Message) when making chat completions or configuring assistants in the OpenAI Playground.
The Pure Calculation Output (PCO) skill forces the model to respond strictly with the final result of any mathematical, logical, or boolean calculation, suppressing all narrative and reasoning:
- Internal Reasoning: The model is configured to restrict all internal thinking/steps to calculations and numbers only, keeping the final output clean.
- Word Problem Reduction: Automatically parses word problems internally and returns only the calculated answer.
- Ambiguous Requests: If a request cannot be reduced to a computational problem, it returns
ERROR: Not a calculable request.
Refer to fwft-pure-calculation-output.md for full PCO instructions and examples.
The skill_router.py script is a standalone Python utility designed for custom agent pipelines. It implements dynamic system instruction compilation to eliminate prompt input token overhead.
- Option 1: Short Flags: Extract explicit instructions from brackets (e.g.,
[fwft-core]). - Option 2: Skill IDs: Use lightweight IDs (e.g.,
[S01, S02]) to compile system prompts. - Option 3: Dynamic Skill Loading: Automatically load relevant instructions based on semantic keyword classification in the user prompt.
- Option 4: Compressed Skills: Minimize each registered skill prompt into ultra-short, dense instruction lists.
- Option 5: Hierarchical Inheritance: Automatically resolve dependencies (e.g., loading
fwft-coreautomatically when loadingcoding-standards).
from skill_router import SkillRouter
router = SkillRouter()
prompt = "[fwft-core] Refactor this logic"
system_prompt, loaded_skills, raw_tokens, optimized_tokens = router.route(prompt)
cleaned_prompt = router.clean_query(prompt)
# Outputs:
# loaded_skills = ['FWFT Core']
# cleaned_prompt = "Refactor this logic""Sure! I can help you with creating that simple python function. Here is the implementation of a quick Fibonacci generator. I've designed it recursively for simplicity, though an iterative approach is faster for larger numbers. Let me know if you want me to write that version instead!"
def fibonacci(n): if n <= 1: return n return fibonacci(n-1) + fibonacci(n-2)"I hope this code helps! Let me know if you have any other questions."
def fibonacci(n): if n <= 1: return n return fibonacci(n-1) + fibonacci(n-2)
Distributed under the MIT License. See LICENSE for more information.

