New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

custom-workflow-installer

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

custom-workflow-installer

Custom workflow system installer for Claude Code

latest
npmnpm
Version
0.6.0
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Custom Workflow System

A sophisticated issue workflow system for Claude Code that provides structured issue management, mode-based interaction control, and customizable bash command permissions.

Features

  • Issue Management: Create and orchestrate issues with structured templates
  • Mode Controller: Discussion/Implementation mode switching for safer interactions
  • Configurable Commands: Allow specific bash commands in discussion mode
  • Clean Updates: Preserves user customizations during updates
  • Hook System: PreToolUse hooks for controlling tool access

Installation

npx custom-workflow-installer

Local Development

./scripts/install-local.sh [target_directory]

System Architecture

Directory Structure

  • .claude/ - Claude Code configuration (commands, hooks, settings)
  • .issues/ - Workflow data (templates, state, config, docs)

Mode Controller

The workflow enforces two operational modes:

Discussion Mode (default):

  • Read-only operations allowed
  • Markdown editing allowed
  • Configurable safe bash commands
  • Type "proceed" to switch to implementation mode

Implementation Mode:

  • All operations allowed
  • Returns to discussion mode on task completion

Configuring Allowed Bash Commands

Edit .issues/config/workflow-config.json to customize allowed commands:

{
  "modeController": {
    "allowedBashCommands": {
      "exactMatches": ["pwd", "ls", "whoami"],
      "prefixMatches": ["git status", "npm list"],
      "regexPatterns": ["^echo [^;&|`$()<>]+$"]
    }
  }
}

Default Safe Commands

  • Navigation: pwd, ls, tree
  • File viewing: cat, head, tail
  • Searching: grep, find, rg
  • Git queries: git status, git diff, git log
  • Package info: npm list, npm view
  • System info: which, node --version

Available Commands

  • /create-issue - Create new issues with structured templates
  • /orchestrate-issue - Orchestrate workflow for existing issues

Development

Repository Structure

custom-workflow/
├── templates/           # Files for NPM package
│   ├── claude/         # Claude Code config
│   └── issues/         # Workflow data
├── bin/                # NPM installer
├── scripts/            # Development tools
└── package.json        # NPM configuration

Testing Workflow

  • Make changes to templates
  • Run ./scripts/install-local.sh workflow_testing
  • Test in workflow_testing/ directory
  • Bump version and push to publish

Publishing

The workflow is published automatically when pushing to main with an incremented version number.

License

MIT

Support

Report issues at: https://github.com/secondcircle/custom-workflow/issues

Keywords

claude-code

FAQs

Package last updated on 25 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts