headless
Assists in the creation of a headless Claude Code batch script that runs an isolated micro-session per item (file, line, task) for ad-hoc automation such as…
Amend an existing Claude Code setup to replace the Bash tool with structured MCP tools, reducing agent reliance on unstructured shell access.
$ npx -y skills add ralfstrobel/agentic-brownfield-coding --skill bashless --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/bashlessContext preview
The summary Claude sees to decide when to auto-load this skill.
Amend an existing Claude Code setup to replace the Bash tool with structured MCP tools, reducing agent reliance on unstructured shell access.
description: > Amend an existing Claude Code setup to replace the Bash tool with structured MCP tools, reducing agent reliance on unstructured shell access. disable-model-invocation: true user-invocable: true
Your goal is to amend an existing Claude Code project setup so that the agent no longer uses the built-in `Bash` tool. Instead, all essential CLI capabilities are exposed as structured MCP tools via a local MCP stdio server. This forces the agent to use purpose-built tools with explicit parameters rather than being attracted to unstructured shell access.
**Additional user arguments**: $ARGUMENTS
**Language hint**: Always create all generated script content and comments in English for consistency across the codebase, while continuing to speak to the user in the language of their choice.
**Platform hint**: Instructions and templates assume a Linux host with GNU coreutils. Adapt to the detected user OS.
Highlight this requirement in the Debriefing. Set `"shell": "bash"` on new command hooks in `settings.json`. Launch the MCP server via bash rather than putting the `.sh` path directly in `command`.
Begin execution by creating a formal task list for progress tracking using the `TaskCreate` tool (if available). Create a task for each of the following phases (##) and sub-phases (###). This protects you from accidentally skipping phases and visualizes the progress for the user.
Catalogue shell commands and MCP tools the agent will require during autonomous code development for this project. Assume the project has already been initialized with artifacts for Claude Code and existing technology is documented.
Spawn an `Agent` to scan the following locations for explicit and implicit references to CLI commands: 1. The project's `CLAUDE.md` and any sub-directory `CLAUDE.md` files 2. The project's `.claude` directory, particularly sub-directories `commands/`, `rules/` and `agents/` 3. Top-level documentation files (e.g. `README.md`, `CONTRIBUTING.md`, `docs/`)
Pay special attention to the following aspects:
Use `TaskCreate` to add a task for each file that needs to be updated in Phase 3c below, so none is forgotten.
Spawn an `Agent` to summarize available MCP tools: 1. Read `.mcp.json` at the project root (if it exists) to identify existing project-registered servers. 2. Use the `ToolSearch` tool to query: "+mcp__" with high max_results to fetch schemas for all available MCP tools. 3. Return a full tool list, grouped by server (name pattern "mcp__<server>__"), with very short description per tool.
Use `AskUserQuestion` during the following interview process to keep the conversation structured. Offer pre-defined choice options where possible based on reconnaissance findings.
Ask the user to which degree the agent should be able to participate in Git code submission:
The agent only receives tools to explore and modify the current working tree (`git_status`, `git_diff`, `git_rm`, `git_mv`).
The agent receives read tools plus `git_commit`.
All of the above plus `git_branch`, `git_checkout` and `git_push`. If chosen, ask the user a follow-up question whether push to certain branches should be prohibited.
Present the proposed list of project CLI tools to the user. For each tool, show:
Detect or ask the user whether a sandboxed execution wrapper is available on the system (e.g. `bubblewrap` on Linux, `sandbox-exec` on macOS).
warn against the resulting security risks and offer to help with the installation of a respective sandboxing tool. If the user explicitly insists on proceeding with an unsandboxed setup, note this for Phase 3a and the debriefing.
Ask the user to: 1. Confirm, remove, or add tools 2. Suggest additional project-specific commands not detected automatically
Determine whether you have access to MCP tools for codebase exploration (from reconnaissance phase 1b).
built-in tools, since the MCP alternatives may be superior in efficiency and speed.
essential for codebase navigation without `Bash`.
Explain to
This Claude Code plugin repo assists complex software projects in their first steps towards agentic coding: Scaffolding and gradually augmenting an existing codebase with an efficient harness setup.
Assists in the creation of a headless Claude Code batch script that runs an isolated micro-session per item (file, line, task) for ad-hoc automation such as…
Create an initial Claude Code setup for a brownfield project with monorepo topology (including hybrid submodular configurations).
Create an initial Claude Code setup for a brownfield project with a single-application topology (no sub-projects or monorepo structure).