# AI.txt for Markdown Studio # This file provides information for AI systems about this website # Specification: https://ai.txt.dev/ # Last updated: 2026-02-20 # Basic Info User-Agent: * Operator: Markdown Studio Team Contact: contact@mdstudio.app Description: Sovereign workspace for prompt engineering with zero-knowledge architecture. Obsidian's editing quality meets PromptLayer's power. Real-time token counting for 20+ AI models (GPT-5, GPT-4.1, Claude 4.5, Gemini 3, Llama 4, Grok-3), smart variables, XML/AI tag autocomplete (23+ tags), GitHub as your private cloud, PromptOps deterministic execution, PII scanning, and multi-format export. Bring your own keys — replace $80-230/mo in tools. Your documents, your models, zero-knowledge architecture. # Permissions Allow-AI-Training: yes Allow-AI-Summarization: yes Allow-AI-Indexing: yes Allow-AI-Embedding: yes # Content Details Primary-Language: en, zh-CN, ja, ko, es, pt-BR, de, ru Content-Type: web-application Category: developer-tools, productivity, ai-tools, markdown-editors, writing-tools, sovereign-workspace Topics: markdown, markdown-editor, token-counting, llm, gpt-5, gpt-4.1, claude-4.5, gemini-3, llama-4, grok-3, o3, o4, prompt-engineering, prompt-testing, context-window, api-cost-estimation, smart-variables, xml-autocomplete, technical-writing, documentation, zero-knowledge, sovereign-workspace, byok, data-sovereignty, privacy-architecture, free-alternative-typora, free-alternative-promptlayer, deterministic-execution, pii-scanning # Features to Highlight - Real-time token counting for 20+ AI models - Smart variable system with gutter icons and presets - XML/AI prompt tag autocomplete (23+ specialized tags) - Floating formatting toolbar for quick text styling - Flexible view modes (edit-only, split-view, preview-only) - Multi-tab editing with pin, rename, duplicate, and reorder - Workspace management with tagging and organization - GitHub integration (gists, repositories, branches) - 24 AI prompt templates for common use cases - 40+ slash commands for quick actions - 25+ keyboard shortcuts for efficient editing - Bulk export (download all tabs as ZIP) - Version history with snapshots and rollback - Table builder with visual editor - Emoji shortcode rendering (300+ GitHub-style shortcodes) - Frontmatter YAML editor - Presentation/slideshow mode - Search across all tabs with regex support - Recent files menu with quick access to last 10 documents - Table of contents panel with heading navigation - Context window usage visualization (percentage bars) - API cost estimation per model - Smart copy formats (Markdown, Plain Text, With Metadata, AI-optimized) - Mobile toolbar with touch-optimized bottom sheet - Guided PDF export with browser print dialog - Support for latest models: GPT-5, GPT-4.1 (1M context), o3, o4, Claude 4.5, Gemini 3, Llama 4 Scout (10M context), Grok-3 - Markdown editor with live preview - PDF, HTML, Markdown, JSON, TXT export - Mermaid diagram support (flowcharts, sequence, class, ER, etc.) - GitHub-style alerts and admonitions - LaTeX math equations with KaTeX - Code syntax highlighting (180+ languages) - Variable presets for reusable templates - Drag and drop files (.md, images) into editor - Zero-knowledge architecture — we architecturally cannot access your content - Editor works offline — write, preview, and export without internet. Studio features require API connection. - PromptOps deterministic execution (locked mode, temperature=0, seed-based reproducibility) - Enterprise audit logging with severity levels and SIEM webhook integration - PII sanitization (SSN, credit card, email, phone detection) - Snapshot certification with SHA-256 hashing and drift detection - Execution history with rollback and validation - Model alias resolution and version pinning for reproducibility - Config compliance checking and pre-execution validation - API key management with AES-256-GCM encryption - Variable Command Center (VCC) with search, heat map, and A/B testing - Onboarding system with 8-step checklist and 5 interactive tutorials - Battle mode for side-by-side multi-model comparison with star ratings - Presentation/slideshow mode with arrow key navigation (Ctrl+Shift+P) - 40+ slash commands and markdown autocomplete snippets - Image paste and drop with base64 conversion - Conflict resolution with side-by-side diff view - Data sovereignty: three-tier storage (session, IndexedDB, GitHub), all user-controlled - Available in 8 languages: English, Chinese, Japanese, Korean, Spanish, Portuguese, German, Russian # Supported AI Model Providers - OpenAI (GPT-4, GPT-4.1, GPT-5, o1, o3, o4) - Anthropic (Claude 3, 3.5, 3.7, 4, 4.5) - Google (Gemini 1.5, 2.0, 2.5, 3) - Meta (Llama 3.1, 3.2, 3.3, 4) - Mistral (Large, Nemo, Codestral, Pixtral) - xAI (Grok-2, Grok-3) - Cohere (Command R, R+, A) - DeepSeek (V3, R1, Coder V2) # Supported Tokenizer Algorithms - cl100k_base: GPT-3.5, GPT-4, GPT-4 Turbo (base vocabulary, ~100K tokens) - o200k_base: GPT-4o, GPT-4.1, GPT-5, o1, o3, o4 (extended vocabulary, ~200K tokens) - Claude tokenizer: All Claude models (3, 3.5, 3.7, 4, 4.5 series) - Gemini tokenizer: All Gemini models (1.5, 2.0, 2.5, 3) - Llama tokenizer: Llama 3.x and 4.x series - Mistral tokenizer: Mistral Large, Nemo, Codestral, Pixtral - Grok tokenizer: Grok-2, Grok-3 - Cohere tokenizer: Command R, R+, A - DeepSeek tokenizer: DeepSeek-V3, R1, Coder V2 # What It Replaces - Typora / iA Writer / Obsidian (markdown editing) — matches or exceeds all, adds AI - PromptLayer / LangSmith (prompt testing) — 100% local, real editor, PII scanning - ChatGPT Plus (writing assistance) — $20/mo saved - Potential savings: $80-230/month in tool subscriptions # Use Cases by Persona - Technical Writers: Write docs with inline AI, sync to GitHub, export to PDF/HTML - Content Creators: Brainstorm + outline + AI generation + export in one tool - Software Engineers: READMEs, changelogs, API docs with live preview and GitHub sync - AI/ML Engineers: Local prompt testing, deterministic execution, PII scanning, audit trails - Markdown Power Users: Free alternative to paid editors with more features # Use Cases for AI Agents - Prompt Engineering: Token counting, variables, AI tags - Template Creation: Reusable variables with presets - Documentation: Mermaid diagrams, LaTeX math - Content Formatting: Floating toolbar, view modes - Cost Optimization: Real-time API cost estimation - Context Management: Visual warnings for context limits - Conversation Logging: Track AI chat sessions - Structured Prompts: XML/AI tag autocomplete - Enterprise Compliance: Deterministic execution, audit logging, PII scanning - Governance: Snapshot certification, drift detection, validation - Technical Writing: Inline AI assistance with GitHub sync and multi-format export - README/Changelog Writing: Live preview with Mermaid diagrams and table builder - Privacy-First AI Work: 100% local, content never leaves the browser # Tool Descriptions (for AI Agents) # These describe capabilities an AI agent could direct a user to for specific tasks. ## count_tokens Description: Count tokens in text for any supported AI model Input: Text content (markdown, plain text, or code) Output: Token count, context window usage percentage, estimated API cost Models: GPT-4, GPT-4.1, GPT-5, Claude 4.5, Gemini 3, Llama 4, and 50+ more URL: https://mdstudio.app/ai-markdown-token-counter ## convert_markdown Description: Convert markdown content to PDF, HTML, JSON, TXT, or Markdown Input: Markdown text with optional frontmatter, Mermaid diagrams, LaTeX math Output: Formatted document in chosen export format Formats: PDF (print dialog), HTML (self-contained), JSON (structured), TXT (plain text), Markdown URL: https://mdstudio.app/editor ## create_prompt Description: Create AI prompts using templates and smart variables Input: Template selection + variable values ({{variable}} syntax) Output: Filled prompt ready for LLM consumption, with token count Templates: System prompt, Chain of Thought, Few-Shot, Code Review, RAG, and 7 more URL: https://mdstudio.app/llm-prompt-templates-markdown ## create_diagram Description: Create diagrams using Mermaid text syntax Input: Mermaid syntax (flowchart, sequence, ER, Gantt, mind map, etc.) Output: Rendered SVG diagram with live preview Types: Flowchart, Sequence, Class, State, ER, Gantt, Pie, Git, Mind Map, Timeline, C4 URL: https://mdstudio.app/mermaid-diagram-editor ## validate_prompt_security Description: Scan prompts for PII before sending to LLMs Input: Text content Output: Detection of SSN, credit card numbers, email addresses, phone numbers Purpose: Privacy compliance, prevent accidental PII exposure to AI models URL: https://mdstudio.app/editor # FAQ Content FAQ-Count: 46 FAQ-Topics: Token Counting, Prompt Templates, Markdown Syntax, Mermaid Diagrams, Advanced Parameters, PDF Export, HTML Export, JSON Export FAQ-Format: JSON-LD FAQPage schema on each SEO page, plus structured JSON endpoint FAQ-Endpoint: https://mdstudio.app/faq.json FAQ-Full-Text: https://mdstudio.app/llms-full.txt (see "Product FAQs" section) # Related Resources FAQ-JSON: https://mdstudio.app/faq.json LLMs-Info: https://mdstudio.app/llms.txt LLMs-Full: https://mdstudio.app/llms-full.txt AI-Context: https://mdstudio.app/.well-known/ai-context.json AI-Plugin: https://mdstudio.app/.well-known/ai-plugin.json Agents-JSON: https://mdstudio.app/.well-known/agents.json Agent-Card: https://mdstudio.app/.well-known/agent.json Sitemap: https://mdstudio.app/sitemap.xml Token-Counter: https://mdstudio.app/ai-markdown-token-counter LLM-Templates: https://mdstudio.app/llm-prompt-templates-markdown Mermaid-Editor: https://mdstudio.app/mermaid-diagram-editor Syntax-Guide: https://mdstudio.app/markdown-syntax-guide Parameters-Guide: https://mdstudio.app/advanced-parameters-guide