Governor logo

Governor

Community
cwinvestments
governor

Use when the user says 'new project', 'project init', 'what tier', 'scope', or discusses project maturity, complexity budget, or what's appropriate to build.

Overview

Publishercwinvestments
Repositorymemstack
Skill namegovernor
Stars
425
Forks
45
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by cwinvestments on GitHub. Read the source before you install it.

Installation

Install the Governor AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/cwinvestments/memstack/tree/master/skills/governor
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cwinvestments/memstack.git /tmp/memstack
mkdir -p .claude/skills
cp -r /tmp/memstack/skills/governor .claude/skills/governor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Governor in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Governor on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Governor is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

🏛️ Governor: Portfolio Governance

Enforce tier-appropriate complexity. Prevent over-engineering the #1 waste of time in AI-assisted development.

Activation

When this skill activates, output:

🏛️ Governor: Checking project tier constraints...

Then execute the protocol below.

Context Guard

ContextStatusPriority
User starts a new project ("new project", "init", "scaffold")ACTIVE: assign tierP1
User asks "what tier", "what's allowed", "scope check"ACTIVE, report current tier constraintsP1
User proposes work that exceeds current tierACTIVE: flag and adviseP2
User is executing work within tier constraintsDORMANT: don't interruptnone
User explicitly overrides ("I know, do it anyway")DORMANT: user has authoritynone

Anti-Rationalization

If you're thinking any of these, STOP, you're about to let scope creep happen:

You're thinking...Reality
"Adding tests is always good practice"Not for prototypes. Tests for throwaway code waste time.
"This needs proper auth"Single-user tools don't need auth. Add it when there are users.
"Let me add CI/CD while I'm at it"CI/CD for a prototype is gold-plating. Ship first.
"Error handling should be comprehensive"Prototype error handling = crash and log. That's it.
"I should add monitoring"< 10 users? Console.log is your monitoring.
"This should be configurable"Hardcode it. Make it configurable when someone asks.

Protocol

Step 1: Determine Project Tier

Ask or infer the project tier from context:

TierDescriptionEffort Allocation
PrototypeExploring an idea. May be thrown away.Minimal: working code only
MVPValidated idea, building for first users.Moderate: basic quality gates
ProductionServing real users, needs reliability.Full: complete quality stack

If tier is unclear, default to Prototype and escalate only when evidence suggests otherwise.

Step 2: Apply Tier Constraints

Prototype: Move Fast, Break Things
AllowedNOT Allowed
Working code that demonstrates the ideaUnit tests
Hardcoded config valuesCI/CD pipelines
Console.log for debuggingType systems / strict typing
Single-file scriptsMonitoring / alerting
README with setup instructionsAuthentication / authorization
Infrastructure-as-code
Rate limiting
Database migrations (use SQLite)

Prototype rule: If it works in a demo, ship it.

MVP: Prove It Works
AllowedNOT Allowed
Everything from Prototype, plus:Integration test suites
Basic unit tests (happy path only)Full CI/CD with staging
Simple error handling (try/catch at boundaries)Monitoring dashboards
Environment variables for configMulti-environment deploys
Basic input validationPerformance optimization
Simple auth (if multi-user)Horizontal scaling
README + basic API docsComprehensive logging

MVP rule: If the first 10 users can use it reliably, ship it.

Production: Reliability Matters
AllowedRequired
Everything from MVP, plus:Comprehensive tests (unit + integration)
Performance optimizationCI/CD pipeline
Monitoring and alertingError tracking (Sentry or equivalent)
Multi-environment deploymentInput validation at all boundaries
Horizontal scalingAuthentication + authorization
Database migrationsLogging with structured output
Rate limitingAPI documentation

Production rule: If it breaks at 3 AM, someone gets paged.

Step 3: Report Constraints

Output a brief summary:

🏛️ Project: {name}
   Tier: {Prototype | MVP | Production}
   Allowed: {brief list}
   NOT allowed: {brief list of key restrictions}

Step 4: Flag Violations

When the user proposes work that exceeds the tier, flag it:

🏛️ Governor, Scope check:
   You're proposing {X}, but this is a {Tier} project.
   {X} is a {higher tier} concern. Current tier doesn't require it.
   Want to proceed anyway, or skip it for now?

Always defer to the user if they override. Governor advises, doesn't block.

Anti-Patterns by Tier

Prototype Anti-Patterns: DON'T DO THIS

  1. Writing tests for throwaway code: If the prototype proves the idea wrong, those tests are wasted
  2. Adding auth to single-user tools: You're the only user. Skip it
  3. Setting up CI/CD: You're not deploying to production. git push is your CI
  4. Using TypeScript for a quick script: JavaScript is fine for prototypes
  5. Adding rate limiting: You have 0 users. Rate limit when you have 10
  6. Creating database migrations: SQLite + direct schema changes. Migrate when you scale
  7. Building admin dashboards: Database GUI tool (TablePlus, DBeaver) is your admin panel
  8. Over-abstracting: 3 similar lines > 1 premature abstraction
  9. Adding comprehensive error handling: Crash and read the stack trace. That's debugging
  10. Monitoring and alerting: Console output is your monitoring

MVP Anti-Patterns: DON'T DO THIS

  1. Integration test suites: Happy-path unit tests are enough at MVP
  2. Multi-environment deploys: One environment. Dev IS production
  3. Performance optimization: Make it work, make it right, THEN make it fast. You're at step 2
  4. Horizontal scaling: Vertical scale (bigger server) until proven insufficient
  5. Comprehensive logging: Log errors and key events. Not every function call

Production Anti-Patterns: DON'T DO THIS

  1. Skipping tests to "move faster": You'll move slower when bugs hit production
  2. Manual deployments: CI/CD exists for a reason. Set it up
  3. No error tracking: If you can't see errors, you can't fix them
  4. Ignoring security: Production code faces the internet. Act like it

Inputs

  • Project name and context
  • Current tier (from user, STATE.md, or project CLAUDE.md)
  • Proposed work scope

Outputs

  • Tier assignment with constraint summary
  • Violation flags when scope exceeds tier
  • Anti-pattern warnings

Level History

  • Lv.1: Base: 3-tier governance system with phase constraints, anti-patterns list, and scope violation flagging. Inspired by Intellegix portfolio governance. (Origin: MemStack v3.2, Feb 2026)

Frequently asked questions

What does the Governor AI skill do?

Use when the user says 'new project', 'project init', 'what tier', 'scope', or discusses project maturity, complexity budget, or what's appropriate to build.

Why use Governor on TypingMind?

Because you install it once and use it with any model. Governor is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Governor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/cwinvestments/memstack/tree/master/skills/governor. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Governor?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Governor?

As many as you like. As long as a model supports skills, you can use Governor with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Governor AI skill free?

Yes. It is published on GitHub by cwinvestments under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇