Claude Code Tools

goblin-trenchcoat-stack

github

ADHD Senior Developer Survival Kit 2026: Goblin Mode CLI Hacks for Friction-Free Coding

Stars
⭐ 0
Last Updated
2026-05-20
Source
github

The Goblin Stack: Three Imps in a Trenchcoat Developer Environment

Download

License Version Build Status PRs Welcome


The Goblin Stack is not just another developer toolset—it is a chaotic, ADHD-engineered, friction-harnessing organism that thrives on spite and caffeine. Imagine three goblins in a trenchcoat, each with their own agenda, crammed into a single terminal, pretending to be a senior developer with 15 years of experience. That is this project.

Built for developers who code at 3 AM, forget what they were doing mid-function, and somehow ship production-ready code anyway. This is the environment that screams “I have no idea what I’m doing” but somehow gets the job done with a smirk and a middle finger to convention.


Table of Contents


The Philosophy of Chaos

Traditional development environments are clean, structured, and boring. They assume you have a pristine workspace, a clear mind, and a linear workflow. The Goblin Stack assumes the opposite.

mindmap
  root((The Goblin Stack))
    Goblin 1 - The Architect
      Designs during showers
      Forgets by lunch
      Draws diagrams on napkins
    Goblin 2 - The Coder
      Types at 200 WPM
      Never reads documentation
      Debugs with vibes
    Goblin 3 - The Project Manager
      Creates 17 sprints
      Cancels 16 of them
      Claims credit for everything
    The Trenchcoat
      Holds it together
      Prevents the goblins from fighting
      Makes the developer look competent

This repository is built for the developer whose brain works in quantum leaps, not linear paths. The developer who ships code written on a phone screen while standing in a grocery line. The developer who has 47 open tabs, 12 terminal windows, and a single candle flickering in the dark.


Architecture Overview

The Goblin Stack operates on a three-layer architecture that mirrors the three goblins in the trenchcoat. Each layer is independent yet interdependent, creating a system that is both resilient and aggressively unreliable—just like a real senior developer.

flowchart TD
    subgraph "Goblin Layer 1 - The Architect"
        A1[Chaos Planning Module]
        A2[Idea Vaporization Engine]
        A3[Napkin Diagram Generator]
    end

    subgraph "Goblin Layer 2 - The Coder"
        B1[Friction-Driven Compiler]
        B2[Spite Optimizer]
        B3[ADHD Focus Scheduler]
    end

    subgraph "Goblin Layer 3 - The Manager"
        C1[Sprint Cancellation Service]
        C2[Blame Attribution System]
        C3[Credit Claiming Algorithm]
    end

    A1 --> B1
    A2 --> B2
    A3 --> B3
    B1 --> C1
    B2 --> C2
    B3 --> C3
    C1 -->|Failed Sprint| A1
    C2 -->|Blame Redirect| B2
    C3 -->|Credit Taken| A2

This feedback loop ensures that nothing ever truly finishes, but everything that does finish is surprisingly functional. The system is designed to fail forward, learn from mistakes, and then immediately forget those lessons.


Key Features

1. ADHD Focus Scheduler

The bane of every developer with attention deficit: the inability to focus on one task. The Goblin Stack embraces this. The ADHD Focus Scheduler rotates your context every 17 minutes, forcing you to switch tasks just as you start making progress. This keeps your brain fresh and your git history messy.

  • Task rotation: Every 17 minutes, the scheduler interrupts you with a new task
  • Context preservation: Automatically saves your terminal history, open files, and mental state
  • Distraction integration: Pulls random tweets into your IDE for “research purposes”
  • Hyperfocus detection: If you remain on one task for more than 60 minutes, it triggers an emergency task switch

2. Friction-Driven Compiler

Most compilers try to make your life easier. The Friction-Driven Compiler actively works against you, introducing small, intentional friction points that force you to think twice. This is how you write better code—through pain.

  • Syntax friction: Randomly reorders your function arguments
  • Type confusion: Swaps int and string types at compile time
  • Import chaos: Rearranges your import statements to maximize confusion
  • Error obfuscation: Writes error messages in Shakespearean English

3. Spite Optimizer

The Spite Optimizer is the secret weapon of the Goblin Stack. When you feel spite toward a piece of code—a colleague’s pull request, a framework you hate, a language you despise—the Spite Optimizer captures that energy and converts it into raw performance gains.

  • Spite detection: Monitors your heart rate and keyboard force for spite indicators
  • Performance boost: The more you hate the code, the faster it runs
  • Vengeance mode: Automatically rewrites code you complain about
  • Passive-aggressive comments: Adds ”// As per your request, I guess” to all automated changes

4. Project Cancellation Service

The Goblin Stack understands that most projects should never have been started. The Sprint Cancellation Service handles the inevitable: cancelling 16 out of 17 sprints with a single command.

  • goblin cancel --all - Cancels every active sprint
  • goblin cancel --with-prejudice - Cancels and deletes all related branches
  • goblin cancel --blame-manager - Cancels and creates a blame ticket for your manager
  • goblin cancel --credit-myself - Cancels but takes credit for the idea

5. Napkin Diagram Generator

For the architect who can only think clearly on a napkin at 2 AM in a diner. The Napkin Diagram Generator takes your messy, coffee-stained thoughts and turns them into UML diagrams that look professional.

  • Input: Photographs of napkins with scribbles
  • Output: PlantUML, Mermaid, or ASCII art
  • Accuracy: Approximately 47%
  • Confidence: 100%

OpenAI API and Claude API Integration

The Goblin Stack would be nothing without its AI overlords. We integrate deeply with both OpenAI and Claude APIs to provide a schizophrenic but remarkably effective development assistant.

Dual-Agent Architecture

flowchart LR
    User[Developer] -->|Prompt| Goblin
    Goblin -->|Request 1| OpenAI[OpenAI API]
    Goblin -->|Request 2| Claude[Claude API]
    OpenAI -->|Response A| ConflictResolver{Conflict Resolver}
    Claude -->|Response B| ConflictResolver
    ConflictResolver -->|Consensus reached| Output[Final Command]
    ConflictResolver -->|Disagreement| Goblin[Goblin Decides]

When you ask a question, both AI agents process it simultaneously. If they agree, you get a confident answer. If they disagree, the Goblin (the three goblins in the trenchcoat) votes on which answer is more chaotic, fun, or likely to break things.

Configuration Example

{
  "ai_integration": {
    "openai": {
      "model": "gpt-4-turbo-2026",
      "temperature": 0.8,
      "max_tokens": 4096,
      "personality": "confident architect"
    },
    "claude": {
      "model": "claude-3-opus-2026",
      "temperature": 0.6,
      "max_tokens": 4096,
      "personality": "reluctant realist"
    },
    "conflict_resolution": {
      "strategy": "goblin_decides",
      "tiebreaker": "most_spite"
    }
  }
}

Usage Scenarios

  • Code generation: Both agents generate code, the Goblin picks the most sarcastic version
  • Debugging: OpenAI suggests the theoretical fix, Claude suggests the practical fix, the Goblin combines both into something that barely works
  • Architecture decisions: The AI agents debate, the Goblin makes the call based on which argument sounds more fun

Example Profile Configuration

Here is a sample .goblinconfig file that demonstrates the depth of customization available:

{
  "goblin_stack": {
    "version": "2.0.6-alpha",
    "chaos_level": "controlled",
    "spite_threshold": 0.75,
    "adhd_mode": "hyperfocus_with_interrupts",
    "trenchcoat_color": "worn_black"
  },
  "scheduler": {
    "task_rotation_interval": 17,
    "hyperfocus_detection": true,
    "emergency_switch_timeout": 60,
    "max_concurrent_tasks": 47,
    "context_save_path": "~/.goblin/contexts/"
  },
  "ai_agents": {
    "openai": {
      "api_key": "sk-xxxxxxxxxxxxxxxxxxxxxxxx",
      "default_prompt_prefix": "Act as a senior developer with 15 years of experience but also a goblin"
    },
    "claude": {
      "api_key": "sk-ant-xxxxxxxxxxxxxxxxxxxxxxxx",
      "default_prompt_prefix": "Act as a goblin developer who is tired of this nonsense"
    }
  },
  "compiler": {
    "friction_enabled": true,
    "syntax_chance": 0.15,
    "type_confusion_chance": 0.05,
    "import_chaos": true,
    "shakespearean_errors": true
  },
  "spite_optimizer": {
    "enabled": true,
    "heart_rate_monitor": true,
    "force_monitor": true,
    "passive_aggressive_comments": true,
    "vengeance_mode_threshold": 0.9
  },
  "project_management": {
    "auto_cancel_sprints": true,
    "blame_default": "manager",
    "credit_claim_always": true,
    "sprint_cancel_frequency": 16
  }
}

Example Console Invocation

The Goblin Stack integrates directly into your terminal. Here’s what a typical session looks like:

$ goblin init --chaos high --adhd severe

   ____       _     _ _       ____  _              _    
  / ___| ___ | |__ (_) |_    / ___|| |_ __ _  __ _| | __
 | |  _ / _ \| '_ \| | __|   \___ \| __/ _` |/ _` | |/ /
 | |_| | (_) | |_) | | |_    ___) | || (_| | (_| | |   <
  \____|\___/|_.__/|_|\__|  |____/ \__\__,_|\__,_|_|\_\
                                                        
  Welcome to The Goblin Stack v2.0.6-alpha
  Three goblins in a trenchcoat pretending to be a senior developer

> goblin status

  Goblin 1 (Architect): Currently designing a microservice architecture on a napkin
  Goblin 2 (Coder): Has written 200 lines of code, deleted 150, crying
  Goblin 3 (Manager): Created 3 sprints today, cancelled 2, claimed credit for all
  Trenchcoat Integrity: 87% - One button is missing

> goblin ai --prompt "How do I fix this memory leak?"

  [OpenAI]: "You should implement a weak reference pattern..."
  [Claude]: "You should just restart the server every hour..."
  [Goblin]: "Both are wrong. I'm going to leak more memory on purpose."
  [Executing]: goblin memory --leak --intentional --spite

> goblin deploy --production --with-spite

  [WARNING]: You are deploying with active friction settings
  [WARNING]: 16 sprints have been cancelled to make this happen
  [WARNING]: The goblins are arguing about who gets credit
  [DEPLOY]: Successful (somehow)
  [CREDIT]: Claimed by Goblin 3 (Manager)

> goblin cancel --all

  [CANCELLING]: 16 out of 17 sprints cancelled
  [CANCELLING]: 1 sprint remains out of spite
  [BLAME]: Assigned to your manager
  [DONE]: Good luck next sprint (there won't be one)

Emoji OS Compatibility

The Goblin Stack supports emoji rendering across all major operating systems. Here’s the compatibility matrix:

EmojiLinuxmacOSWindowsBSDHaiku
🧌 (Troll)FullFullPartialFullFalse
🧥 (Trenchcoat)FullFullFullFullGlitched
🧠 (Brain)FullFullFullFullChonky
⚡ (Chaos)FullFullFullFullUnstable
💡 (Idea)FullFullFullFullRare
🗑️ (Sprint)FullFullFullFullDeleted
🐛 (Bug)FullFullFullFullFeature
🍕 (Sustenance)FullFullFullFullCold
☕ (Coffee)FullFullFullFullEssential
🔥 (Burnout)FullFullFullFullInevitable

Note: Haiku OS support is experimental. The goblins refuse to test on Haiku because “it sounds like a vacation destination.”


Responsive UI and Multilingual Support

Responsive UI

The Goblin Stack’s terminal UI adapts to any screen size, from a 49-inch ultrawide monitor to a single 80x24 terminal window in a SSH session. The goblins have been trained to resize themselves accordingly.

  • Desktop: Three full goblin profiles visible with detailed status panels
  • Tablet: Collapsed into a single trenchcoat icon with a dropdown menu
  • Mobile: Text-only mode with goblin emoji representations
  • Smartwatch: Just the trenchcoat emoji and a vibrating alert when a sprint is cancelled

Multilingual Support

The Goblin Stack speaks your language, even if your language is profanity. We support:

  • English: Full support (British and American, because the goblins argue about spelling)
  • Spanish: Full support (especially for curse words)
  • German: Full support (with extra precision and existential dread)
  • Japanese: Full support (the goblins watch a lot of anime)
  • Pig Latin: Full support (for when you want to confuse your code reviewers)
  • Corporate Jargon: Full support (synergy, leverage, pivot, circle back)
  • Meme Language: Partial support (the goblins are learning, slowly)

To set your language:

goblin language --set pig-latin
goblin language --set corporate
goblin language --set meme

24/7 Customer Support

The Goblin Stack offers 24/7 customer support, but don’t expect it to be helpful. The support team is, of course, three goblins in a trenchcoat.

Support Channels

  • Email: support@goblin-stack.internal (response time: 47 hours, but they’ll blame your ISP)
  • Discord: A single channel where the goblins argue with each other
  • GitHub Issues: The goblins will close your issue as “won’t fix” and reopen it as “feature request”
  • Carrier Pigeon: Experimental, the goblins keep eating the pigeons

What to Expect

  • First response: “Have you tried turning it off and on again?” (even if it’s a feature request)
  • Second response: “That’s not a bug, that’s a feature” (even if it’s a security vulnerability)
  • Third response: “The goblin who wrote that code quit. We don’t know what it does.”
  • Resolution: Your issue will be fixed in a future update that also breaks 17 other things

Disclaimer

The Goblin Stack is not responsible for:

  • Lost productivity due to excessive sprint cancellation
  • Personal relationships damaged by passive-aggressive code comments
  • Psychological damage from reading Shakespearean error messages
  • Data loss from overly aggressive friction-driven compiling
  • Termination of employment due to “blame manager” feature
  • Spite-induced burnout
  • Actual goblins appearing in your workplace (this has happened twice)
  • The trenchcoat falling apart (it was held together by spite and stale coffee)

By using this software, you agree that:

  1. You understand that three goblins in a trenchcoat are managing your development environment
  2. You accept that code quality is inversely proportional to goblin confidence
  3. You will not attempt to separate the goblins
  4. You acknowledge that goblin cancel --all is not a reversible operation
  5. You forfeit the right to complain about unreadable code (it’s the goblin way)
  6. You will supply the goblins with coffee, pizza, or memes as tribute

License

The Goblin Stack is released under the MIT License.

MIT License

Copyright (c) 2026 The Goblin Stack Project

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Contributing

We welcome contributions! However, please note the following guidelines:

  1. All pull requests must be reviewed by at least one goblin (not possible, they’re all busy arguing)
  2. Code must pass the “vibe check” (a mystical process involving a candle and a rubber chicken)
  3. You must write at least 17 unit tests that test absolutely nothing
  4. You must include at least one passive-aggressive comment in your code
  5. You must cancel at least one sprint during the development of your contribution
  6. You must blame your manager for at least one thing in your PR description

Download


The Goblin Stack: Because real senior developers are just three goblins in a trenchcoat with better imposter syndrome management.