New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@htekdev/actions-debugger

Package Overview
Dependencies
Maintainers
1
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@htekdev/actions-debugger

65+ real GitHub Actions errors, queryable by agents. MCP server + Copilot skills + error database.

Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
52
15.56%
Maintainers
1
Weekly downloads
 
Created
Source

@htekdev/actions-debugger

CI npm License: MIT

65+ real GitHub Actions errors, queryable by agents. MCP server + Copilot skills + error database.

Stop debugging the same CI failures over and over. This repo packages 65+ real-world GitHub Actions error scenarios — with regex-matchable patterns, root causes, and copy-paste fixes — into formats that both humans and AI agents can consume.

What's Inside

errors/              → Structured YAML error database (65+ entries)
src/                 → MCP server (TypeScript + @modelcontextprotocol/sdk)
.github/skills/      → Copilot CLI skills for CI debugging
.github/agents/      → Copilot agent definition

Quick Start

As an MCP Server (Claude Desktop, Copilot CLI, Cursor, etc.)

npx @htekdev/actions-debugger

Add to your MCP client config:

{
  "mcpServers": {
    "actions-debugger": {
      "command": "npx",
      "args": ["@htekdev/actions-debugger"]
    }
  }
}

Client config locations:

  • Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)
  • Cursor: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
  • VS Code (Copilot Chat): .vscode/mcp.json
  • Copilot CLI: .github/mcp.json (repo-level)
  • Windsurf: ~/.codeium/windsurf/mcp_config.json

As a Copilot CLI Skill (No MCP Required)

Copy .github/skills/actions-debugging/SKILL.md to your repo's .github/skills/ directory. Reference it in your agent:

> **Skill reference:** For CI debugging, use the `actions-debugging` skill.

Programmatic (npm Package)

import { loadErrorDatabase, lookupError, diagnoseWorkflow } from "@htekdev/actions-debugger";

const db = await loadErrorDatabase();

// Lookup by error message
const matches = lookupError(db, "Permission to org/repo.git denied");
console.log(matches[0].fix);

// Analyze a workflow
const issues = diagnoseWorkflow(db, workflowYamlString);

MCP Tools

ToolDescription
lookup_errorMatch an error message against 65+ known issues
diagnose_workflowStatic analysis of workflow YAML for common mistakes
suggest_fixContextual fix suggestions from error context
search_errorsFull-text search by keyword, category, severity
list_categoriesBrowse error categories with counts

Error Categories

CategoryDescription
yaml-syntaxYAML validation, key typos, expression errors
silent-failuresNo error shown, but wrong behavior
runner-environmentRunner issues, disk space, Docker, PATH
permissions-authGITHUB_TOKEN, OIDC, secrets, 403s
caching-artifactsCache misses, artifact v4 changes, corruption
triggersWorkflow not running, cron issues, dispatch
concurrency-timingJob cancellation, matrix, timeouts
known-unsolvedPlatform limitations with no fix

Contributing

See CONTRIBUTING.md for how to add new error entries. It's easy:

  • Create a YAML file in the appropriate errors/{category}/ directory
  • Follow the schema in errors/_schema.json
  • Open a PR — CI validates your entry automatically

Source

All error scenarios sourced from: The Definitive GitHub Actions Debugging Guide

License

MIT — Hector Flores (htekdev)

Keywords

github-actions

FAQs

Package last updated on 02 Jun 2026

Related posts