Gsd Tools logo

Gsd Tools

OrganizationPopular
a5c-ai
gsd-tools

Central utility skill for GSD operations. Provides config parsing, slug generation, timestamps, path operations, and orchestrates calls to other specialized skills. Acts as the unified entry point that the original gsd-tools.cjs provided via its lib/ modules (commands, config, core, init).

Overview

Publishera5c-ai
Repositorybabysitter
Skill namegsd-tools
Stars
1.8K
Forks
112
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 a5c-ai on GitHub. Read the source before you install it.

Installation

Install the Gsd Tools 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/a5c-ai/babysitter/tree/main/library/methodologies/gsd/skills/gsd-tools
  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/a5c-ai/babysitter.git /tmp/babysitter
mkdir -p .claude/skills
cp -r /tmp/babysitter/library/methodologies/gsd/skills/gsd-tools .claude/skills/gsd-tools
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Gsd Tools 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 Gsd Tools 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 Gsd Tools 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.

  • Load and manage .planning/config.json configuration
  • Generate deterministic slugs from descriptions (kebab-case, deduplication)
  • Format timestamps for GSD artifact headers and frontmatter
  • Resolve paths within the .planning/ directory structure
  • Parse and normalize phase numbers (integer and decimal)
  • Manage sequential quick task numbering in .planning/quick/
  • Initialize and validate .planning/ directory structure
  • Detect project state (new project, existing project, mid-phase, etc.)

Capabilities

1. Configuration Loading

Load and parse .planning/config.json with defaults:

json
{
  "profile": "balanced",
  "autoCommit": true,
  "autoVerify": true,
  "planCheckerEnabled": true,
  "maxPlanRevisions": 2,
  "waveParallelization": true,
  "contextMonitor": true,
  "contextWarningThreshold": 70,
  "contextCriticalThreshold": 85,
  "summaryVariant": "standard",
  "tddEnabled": false,
  "questioningDepth": "adaptive"
}

Read config:

bash
cat .planning/config.json

If config does not exist, create with defaults. Merge user overrides with defaults (user values take precedence).

2. Slug Generation

Generate kebab-case slugs from descriptions:

Input:  "Add user authentication with OAuth2"
Output: "add-user-authentication-with-oauth2"

Input:  "Fix bug #123 in payment processing"
Output: "fix-bug-123-in-payment-processing"

Rules:

  • Lowercase all characters
  • Replace spaces and special characters with hyphens
  • Remove consecutive hyphens
  • Trim leading/trailing hyphens
  • Maximum 60 characters (truncate at word boundary)
  • Check for duplicates in target directory, append -2, -3 if needed

3. Timestamp Formatting

Format timestamps for GSD artifacts:

Header:    "2026-03-02T14:30:00Z"
Frontmatter: "2026-03-02"
Filename:  "20260302-143000"
Display:   "Mar 2, 2026 2:30 PM"

4. Path Operations

Resolve paths within .planning/ structure:

Phase directory:    .planning/phase-{N}/
Plan file:          .planning/phase-{N}/PLAN-{M}.md
Summary file:       .planning/phase-{N}/SUMMARY.md
Quick task:         .planning/quick/{NNN}-{slug}/
Debug session:      .planning/debug/{slug}.md
Codebase docs:      .planning/codebase/
Research docs:      .planning/research/
Milestone archive:  milestones/v{X}.{Y}/

5. Phase Number Parsing

Parse integer and decimal phase numbers:

"72"    -> { major: 72, minor: null, display: "72" }
"72.1"  -> { major: 72, minor: 1, display: "72.1" }
"72.2"  -> { major: 72, minor: 2, display: "72.2" }

Decimal phases are inserted phases (e.g., urgent work between phase 72 and 73).

6. Quick Task Numbering

Sequential numbering for quick tasks:

.planning/quick/001-fix-login-bug/
.planning/quick/002-add-rate-limiting/
.planning/quick/003-update-readme/

Scan existing directories, find highest number, increment by 1. Zero-pad to 3 digits.

7. Planning Directory Initialization

Ensure .planning/ directory exists with required structure:

.planning/
  config.json
  PROJECT.md       (if new-project has run)
  REQUIREMENTS.md  (if new-project has run)
  ROADMAP.md       (if new-project has run)
  STATE.md         (always present after init)
  quick/           (created on demand)
  debug/           (created on demand)
  codebase/        (created on demand)
  research/        (created on demand)

8. Project State Detection

Detect current project state for routing:

javascript
const states = {
  NO_PROJECT: "No .planning/ directory or no PROJECT.md",
  INITIALIZED: ".planning/ exists with PROJECT.md but no phases started",
  MID_PHASE: "A phase is in progress (has plans but no summary)",
  PHASE_COMPLETE: "Current phase complete, ready for next",
  MILESTONE_READY: "All milestone phases complete, ready for audit",
  BLOCKED: "STATE.md has active blockers"
};

Tool Use Instructions

Reading Configuration

  1. Use Read to load .planning/config.json
  2. Parse JSON and merge with defaults
  3. Return merged configuration object

Generating Slugs

  1. Accept description string as input
  2. Apply slug transformation rules
  3. Use Glob to check for duplicates in target directory
  4. Append deduplication suffix if needed
  5. Return final slug

Initializing Planning Directory

  1. Use Bash to create directory structure with mkdir -p
  2. Use Write to create config.json with defaults if missing
  3. Use Read + Glob to detect existing state
  4. Return initialization status

Process Integration

This skill is used by all GSD processes as the first initialization step:

  • new-project.js - Initialize .planning/, create config
  • plan-phase.js - Resolve phase paths, load config for planner settings
  • execute-phase.js - Load config for executor settings, resolve task paths
  • quick.js - Generate quick task number and slug, resolve quick task path
  • debug.js - Generate debug session slug, resolve debug path
  • progress.js - Detect project state, load config
  • complete-milestone.js - Resolve milestone archive path
  • add-tests.js - Resolve phase paths for test generation
  • research-phase.js - Resolve research output paths

Output Format

json
{
  "operation": "init|config|slug|path|state",
  "status": "success|error",
  "result": {
    "config": {},
    "slug": "generated-slug",
    "path": "/resolved/path",
    "state": "NO_PROJECT|INITIALIZED|MID_PHASE|..."
  },
  "metadata": {
    "planningDir": ".planning/",
    "configPath": ".planning/config.json",
    "timestamp": "2026-03-02T14:30:00Z"
  }
}

Configuration

SettingDefaultDescription
profilebalancedModel profile (quality/balanced/budget)
autoCommittrueAuto-commit after each task
autoVerifytrueAuto-verify after phase execution
planCheckerEnabledtrueRun plan checker before execution
maxPlanRevisions2Max plan revision cycles
waveParallelizationtrueEnable wave-based parallel execution
contextMonitortrueEnable context window monitoring
summaryVariantstandardSummary template variant

Error Handling

ErrorCauseResolution
Config parse errorMalformed config.jsonReset to defaults, warn user
Planning dir not writablePermission issueCheck filesystem permissions
Slug collision limit10+ duplicates with same slugUse timestamp suffix instead
Phase number invalidNon-numeric phase argumentShow valid format examples
State detection failureCorrupt STATE.mdSuggest health command to repair

Constraints

  • Never modify files outside .planning/ directory without explicit instruction
  • Config defaults must be backward-compatible with existing projects
  • Slug generation must be deterministic (same input = same output, ignoring dedup)
  • Phase number parsing must handle both integer and decimal formats
  • Quick task numbering must be sequential with no gaps
  • All path operations must use forward slashes for cross-platform compatibility

Frequently asked questions

What does the Gsd Tools AI skill do?

Central utility skill for GSD operations. Provides config parsing, slug generation, timestamps, path operations, and orchestrates calls to other specialized skills. Acts as the unified entry point that the original gsd-tools.cjs provided via its lib/ modules (commands, config, core, init).

Why use Gsd Tools on TypingMind?

Because you install it once and use it with any model. Gsd Tools 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 Gsd Tools in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/a5c-ai/babysitter/tree/main/library/methodologies/gsd/skills/gsd-tools. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Gsd Tools?

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 Gsd Tools?

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

Is the Gsd Tools AI skill free?

Yes. It is published on GitHub by a5c-ai 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 👇