Skip to content

forge-fix

by official

Developer

Fix scrutiny honesty warnings by rewriting a tool's description to align with its prompt keywords, then verify the fix

meta debugging development
# forge-fix

Fix scrutiny honesty warnings by rewriting a tool's description to align with its prompt keywords, then verify the fix.

## Installation

This is a CmdForge tool. Install it via:

```bash
cmdforge install forge-fix
```

## Usage

```bash
# Fix a tool with honesty warnings
forge-fix --name my-tool

# The tool will:
# 1. Load the tool config and analyze for keyword mismatches
# 2. Generate a new description aligned with actual prompts
# 3. Apply the fix and verify it passes scrutiny
```

## Arguments

| Flag | Default | Description |
|------|---------|-------------|
| `--name` | _(required)_ | Tool name to fix (required) |

## How It Works

1. **load_and_analyze**: Loads the tool's configuration from `~/.cmdforge/<name>/config.yaml`, analyzes its description against prompt step keywords to identify honesty warnings
2. **rewrite_description**: Uses Claude Sonnet to generate a new description that accurately reflects the tool's actual prompt keywords and functionality
3. **apply_fix**: Saves the updated description back to the tool's config file and runs scrutiny verification to confirm the fix

## Dependencies

None - this tool uses standard CmdForge features and the Claude Sonnet provider.

## Category

Developer

No reviews yet.

Issues

No issues reported for this tool.