Code Pluginsource linked

PyFixv1.0.0

OpenClaw plugin for diagnosing and fixing common Python errors

openclaw-pyfix·runtime pyfix·by @iriyaverma
Community code plugin. Review compatibility and verification before install.
openclaw plugins install clawhub:openclaw-pyfix
Latest release: v1.0.0Download zip

Capabilities

configSchema
Yes
Executes code
Yes
HTTP routes
0
Runtime ID
pyfix

Compatibility

Built With Open Claw Version
2026.3.24-beta.2
Min Gateway Version
2026.3.24-beta.2
Plugin Api Range
>=2026.3.24-beta.2
Plugin Sdk Version
2026.3.24-beta.2
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
The name, description, SKILL.md, index.ts, and the src/* modules all implement a traceback parser, an error database, formatting, three registered tools, and a CLI — exactly what a Python-error diagnosis plugin would need. There are no declared environment variables, required binaries, or config paths that contradict the stated purpose.
Instruction Scope
The SKILL.md and the source instruct the agent to parse tool output (ctx.result) and add annotations via after_tool_call; the code only inspects strings and produces formatted diagnostics. There are no instructions to read unrelated files, environment variables, or to transmit data to external endpoints.
Install Mechanism
There is no install spec (instruction-only skill + source files). That is low risk. However, the repository includes a package-lock.json that lists many large cloud/SDK packages (AWS SDK, Anthropic SDK, Bedrock client, etc.) which are not imported or referenced by the plugin code. This is disproportionate to the plugin's simple functionality and could be an artifact of the developer's environment or an expanded lockfile, but it is unexpected and worth verifying on the published npm package (since package.json declares no runtime dependencies).
Credentials
The skill declares no required environment variables or credentials and the code does not read env vars or config paths. The only proportionality concern is that the package-lock includes SDKs that, if actually installed as dependencies, would normally be associated with services requiring credentials — but package.json does not list them as runtime dependencies, so there is no direct request for credentials in this bundle.
Persistence & Privilege
The plugin does not request persistent elevated privileges. always is false, it registers a normal after_tool_call hook (appropriate for auto-detecting tracebacks), and it does not modify other skills or system-wide agent settings.
Assessment
This skill appears to do what it says: parse Python tracebacks and provide explanations and fixes, and it will auto-annotate tool output when installed. Before installing, consider these checks: 1) verify the published npm package (openclaw-pyfix) metadata on the registry — confirm its package.json (dependencies) matches the source here; 2) inspect the package contents you will install (npm pack / unpack) to ensure the large package-lock contents are not being shipped as runtime dependencies; 3) if you want extra caution, run the plugin locally in an isolated environment and run the test suite (npm install && npm test) to observe behavior; 4) remember the plugin will automatically annotate tool output via after_tool_call, so if you want to restrict automatic annotations you can control plugin activation or permissions in your OpenClaw configuration. The main oddity is a large package-lock.json listing unrelated SDKs — this is likely a leftover dev artifact but worth verifying before trusting the published package.

Verification

Tier
source linked
Scope
artifact only
Summary
Validated package structure and linked the release to source metadata.
Commit
d1dd775
Tag
main
Provenance
No
Scan status
clean

Tags

latest
1.0.0

PyFix

An OpenClaw plugin for diagnosing and fixing common Python errors.

Created by Riya Verma.

PyFix automatically detects Python tracebacks and provides clear explanations, fix suggestions, and example code to help you resolve errors quickly.

Installation

npm install openclaw-pyfix

Add the plugin to your OpenClaw configuration:

{
  "plugins": ["openclaw-pyfix"]
}

Error Categories

CategoryDescriptionExamples
typeType-related errorsnot subscriptable, unsupported operand
attributeAttribute access errorshas no attribute, module has no attr
importImport and module errorsModuleNotFoundError, ImportError
syntaxSyntax and indentation errorsinvalid syntax, unexpected indent
nameName resolution errorsNameError, UnboundLocalError
indexIndex out of range errorslist index out of range
keyDictionary key errorsKeyError
valueValue conversion/unpacking errorsinvalid literal, too many values to unpack
ioFile and permission errorsFileNotFoundError, PermissionError
runtimeRuntime errorsZeroDivisionError, RecursionError
miscOther errorsUnicodeDecodeError, JSONDecodeError

Agent Tools

PyFix registers three tools for the OpenClaw agent:

  • py_fix - Paste a Python traceback to get diagnosis and fix suggestions
  • py_explain - Look up a specific Python error type by its code
  • py_errors - List known Python errors, optionally filtered by category

Auto-Detection

PyFix hooks into after_tool_call to automatically detect Python errors in tool output. When an error matching common Python exception types is found, it adds an annotation with diagnosis and fix suggestions.

Detected error types: TypeError, AttributeError, ImportError, SyntaxError, NameError, IndexError, KeyError, ValueError, FileNotFoundError.

CLI

PyFix adds a pyfix CLI subcommand:

# List all known errors
openclaw pyfix errors

# Filter by category
openclaw pyfix errors type

# Look up a specific error
openclaw pyfix lookup "TypeError: 'int' object is not subscriptable"

# List categories
openclaw pyfix categories

Testing

npm install
npm test

The test suite covers:

  • Error database integrity (25+ entries, no duplicates, all fields valid)
  • Traceback parsing (full tracebacks, bare error lines, multiple errors)
  • Markdown formatting (single results, error lists, multiple results)

License

MIT