Preparing your workspace...

No files in context
Quick Actions
codmir
Docs
Discord
Get started
API
  • Introduction
  • Installation
  • Your First Project
  • Your First Agent

Playbook for compressing noisy inputs into compact, role-aware prompts.

Short Prompt Generator (SPG)

Objective: derive a compact, high-signal prompt from raw inputs (typed/voice today, neural later).

Inputs

  • Text or ASR transcript
  • (Future) Wake-word confidence + micro-gesture features
  • Project context (repo/tickets)

Steps

  1. Normalize (lower, trim, remove fillers)
  2. Segment tasks vs questions
  3. Extract entities (repo, file, function, service)
  4. Identify intent class (code/spec/review/deploy)
  5. Compose minimal prompt with role hints and acceptance criteria
  6. Apply budget/safety policy filter

Diagram

sequenceDiagram
  participant Source as Source (voice/typed)
  participant SPG as Short Prompt Generator
  participant Policy as Policy Filter
  participant Fabric as Fabric

  Source->>SPG: raw input
  SPG->>SPG: normalize + segment
  SPG->>SPG: extract intent/entities
  SPG->>Policy: validate budgets/safety
  Policy-->>SPG: ok / adjust
  SPG-->>Fabric: short prompt + role hints
Open in ChatGPTOpen in ClaudeConnect MCP on CursorConnect MCP on WindsurfEdit on GitHub
codmir
Products
Desktop AppMobile AppIDE ExtensionAI AgentsOverseerVoice ModeCortex ProtocolHive MindGame Dev (Godat)PricingDownload
Solutions
AI Code AgentsError TrackingSelf-HealingDeploy TrackingAI Tracking SDKWorkflow AutomationTesting FrameworkTime TrackingVoice Control
Platform
ProjectsTickets & BoardsAgent MarketplaceIntegrationsTemplatesApp HubAdmin PanelAnalytics
Integrations
GitHubSlackDiscordVercelSentryRailwayLinearAll Integrations
Developers
DocumentationAPI ReferenceSDKCLIDeveloper PortalMarketplaceMCP ConnectorsWebhooksExamplesnpm Packages
Resources
BlogChangelogCommunityGet StartedSupportStatusFeedback
Company
AboutCareersContact SalesKickstarterReferral Program
Legal
Terms of UsePrivacy PolicyEULATrademarkSecurity
GET IT ONTestFlightGet it on Google Play

Codmir™ 2026. All rights reserved.

Free & open source SDK — Apache 2.0 License