Skip to content
Back to skills

Tzero

ASecurity

Enterprise-Grade Codebase Context Architect, AST Signatures Analyzer, & Token Reducer. Activate when the user types "/tzero", asks to reduce tokens, scan codebase architecture, audit code smells, analyze change impact, enforce architectural boundaries, or optimize prompt context for LLMs.

  • 146 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 5, 2026
ai-agentspythongogitapisecurity

Works with

  • cursor
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 5, 2026

npx -y skills add toprakahmetaydogmus/TZeroAlgorithm --skill tzero --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tzero?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tzero
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/toprakahmetaydogmus-tzero/badge)](https://www.skillsdirectory.com/skills/toprakahmetaydogmus-tzero)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tzero
description: >-
  Enterprise-Grade Codebase Context Architect, AST Signatures Analyzer, & Token Reducer.
  Activate when the user types "/tzero", asks to reduce tokens, scan codebase architecture,
  audit code smells, analyze change impact, enforce architectural boundaries, or optimize prompt context for LLMs.
---

# /tzero — Siber Akademi T-Zero Context Engine

Enterprise-Grade Codebase Context Architect, AST Signatures Analyzer, and Token Reducer.
Cuts LLM context ingestion overhead by up to 95% while preserving structural fidelity for AI agents.

Developer: Toprak Ahmet Aydoğmuş (Siber Akademi)
Repository: https://github.com/toprakahmetaydogmus/TZeroAlgorithm

## Slash Command Modes

When the user enters `/tzero [subcommand]` or asks for T-Zero assistance, dispatch to the matching capability:

| Subcommand | Description | Action / Tool |
|:---|:---|:---|
| `/tzero` or `/tzero tree` | Builds full multi-tier hierarchical context tree (T-1 to T-4) with ultra token pruning. | Call `get_project_context_tree` MCP tool |
| `/tzero audit` | Runs AST static code smell check and checks for 100% Zero-Leak security (hardcoded secrets). | Call `audit_codebase_quality` MCP tool |
| `/tzero arch` | Generates system architecture specification (`ARCHITECTURE.md`) with live Mermaid diagrams. | Call `generate_architecture_blueprint` MCP tool |
| `/tzero deps [file]` | Traces internal & external module import topology and dependency graphs. | Call `query_module_dependencies` MCP tool |
| `/tzero impact <symbol>` | Analyzes change impact and blast radius (0-100 score) before modifying a class/function. | Call `analyze_change_impact` MCP tool |
| `/tzero rules` | Generates AI agent instruction files (`.cursorrules`, `.cursor/rules/*.mdc`, `.clinerules`). | Call `export_agent_rules` MCP tool |
| `/tzero search <query>` | Performs 100% private local BM25 hybrid semantic code search without cloud embedding APIs. | Call `search_codebase_semantic` MCP tool |
| `/tzero savings` | Computes quantitative token reduction metrics and team financial ROI savings (USD/month). | Call `get_token_savings_metrics` MCP tool |
| `/tzero boundaries` | Enforces T-4 architectural boundaries defined in `tzero.rules.json` to prevent architectural erosion. | Call `enforce_architecture_boundaries` MCP tool |
| `/tzero repomap` | Generates ultra-compact AST symbol token map for chat context windows. | Call `generate_repo_map` MCP tool |
| `/tzero duplicity` | Scans workspace for duplicate or copy-pasted code blocks (6+ lines) across modules. | Call `find_code_duplicity` MCP tool |
| `/tzero helpers <query>` | Discovers reusable repository helpers & guards against reinventing existing functions. | Call `suggest_reusable_helpers` MCP tool |
| `/tzero doctor` | Inspects environment, Python runtime, and dependencies. | Run `python -m tzero_deps` or CLI `--doctor` |

## Execution Guidelines

1. **Prefer Native MCP Tools:** When the `tzero` MCP server is registered, invoke the corresponding MCP tool directly (`get_project_context_tree`, `audit_codebase_quality`, etc.).
2. **Fallback to CLI/Engine:** If MCP is temporarily unavailable, use the local CLI `tzero_v3.py` or `TZeroAlgorithm.exe` with matching flags (`--scan`, `--audit`, `--export-arch`, etc.).
3. **100% Zero-Leak Guarantee:** Never output, log, or commit sensitive API keys or user credentials.
4. **Summary & Presentation:** Format the output with clear GitHub-style Markdown, tables, and alerts (`> [!TIP]`, `> [!IMPORTANT]`).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.