Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Agent Code Debugger

v1.0.0

Provides debugging assistance for AI-generated code with pattern detection, common issue identification, and fix suggestions across multiple programming lang...

0· 138·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for jpengcheng523-netizen/agent-code-debugger.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Agent Code Debugger" (jpengcheng523-netizen/agent-code-debugger) from ClawHub.
Skill page: https://clawhub.ai/jpengcheng523-netizen/agent-code-debugger
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install agent-code-debugger

ClawHub CLI

Package manager switcher

npx clawhub@latest install agent-code-debugger
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description describe a code-debugging assistant and the included SKILL.md plus index.js implement regex-based analysis, fix suggestion, and IDE guidance for the stated languages. Required resources (none) match the described functionality.
Instruction Scope
SKILL.md instructs the agent to call local API functions (analyze, suggestFixes, quickFix, etc.) on code strings. It does not direct the agent to read arbitrary system files, access environment variables, or send data to external endpoints.
Install Mechanism
No install specification is present (instruction-only/packaged code). The repository contains a local index.js and package.json; there are no downloads, extracted archives, or external install steps that would pull remote code at install time.
Credentials
The skill declares no required environment variables, credentials, or config paths. The implementation operates on code strings and pattern matching and does not read process.env or request secrets.
Persistence & Privilege
The skill is not forced-always (always:false) and does not request persistent system-wide privileges. There are no signs it modifies other skills or global agent configuration.
Assessment
This skill appears to be what it claims: a local pattern-based code analyzer and fixer. Before installing, review index.js yourself to ensure no hidden network calls or eval/child_process execution were added (the provided source appears to only use regex matching). Because it will analyze code you provide, avoid sending sensitive secrets inside code strings you analyze. If you plan to run this in a high-security environment, run it in a sandbox or node environment with restricted network/file permissions and verify the module's exports and behavior on a few benign examples first.
index.js:222
Dynamic code execution detected.
Patterns worth reviewing
These patterns may indicate risky behavior. Check the VirusTotal and OpenClaw results above for context-aware analysis before installing.

Like a lobster shell, security has layers — review code before you run it.

latestvk973wq03mkdw0x4g94tvhyc3dn83mwfn
138downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

Agent Code Debugger

Debugging assistance for AI-generated code with multi-language support.

When to Use

  • Debugging AI-generated code
  • Analyzing code for common AI generation issues
  • Getting Visual Studio debugging guidance
  • Detecting security vulnerabilities in generated code
  • Quick fixes for common code issues

Usage

const debugger = require('./skills/agent-code-debugger');

// Analyze code for issues
const analysis = debugger.analyze(code, { language: 'csharp' });
console.log(analysis.summary);

// Get fix suggestions
const fixes = debugger.suggestFixes(analysis.issues);

// Get Visual Studio guidance
const guidance = debugger.getVisualStudioGuidance('csharp');

// Generate debug configuration
const config = debugger.generateDebugConfig('csharp');

// Quick fix common issues
const fixed = debugger.quickFix(code, 'console_writeline_leftover');

API

analyze(code, options?)

Analyze code for issues.

const analysis = analyze(csharpCode, { language: 'csharp' });
// {
//   language: 'csharp',
//   totalIssues: 5,
//   criticalCount: 0,
//   highCount: 2,
//   mediumCount: 2,
//   lowCount: 1,
//   issues: [...],
//   summary: 'Found 5 issue(s): 2 high, 2 medium, 1 low'
// }

suggestFixes(issues, options?)

Generate fix suggestions for issues.

const fixes = suggestFixes(analysis.issues, { language: 'csharp' });
// [{ type: 'async_void', fixSuggestion: '...', ... }]

getVisualStudioGuidance(language?)

Get Visual Studio debugging guidance.

const guidance = getVisualStudioGuidance('csharp');
// {
//   breakpoints: '...',
//   watchWindow: '...',
//   tips: [...]
// }

generateDebugConfig(language, options?)

Generate debug configuration for VS Code / Visual Studio.

const config = generateDebugConfig('csharp');
// { visualStudio: {...}, vscode: {...} }

detectAIPatterns(code)

Detect common AI-generated code characteristics.

const patterns = detectAIPatterns(code);
// [{ type: 'todo_comments', description: '...', suggestion: '...' }]

quickFix(code, issueType)

Apply quick fix for common issues.

const fixed = quickFix(code, 'console_writeline_leftover');
// { original: '...', fixed: '...', applied: true }

generateReport(analysis)

Generate a markdown debugging report.

const report = generateReport(analysis);
// '# Code Analysis Report\n...'

Supported Languages

  • C# / .NET Core - Full support with Visual Studio guidance
  • TypeScript - Type safety and async patterns
  • JavaScript - Promise and async/await patterns
  • Python - Exception handling and best practices
  • Java - Exception handling and threading

Common Issues Detected

C# / .NET Core

IssueSeverityDescription
async_voidHighasync void should only be used for event handlers
task_result_blockingHigh.Result blocks thread, potential deadlock
task_wait_blockingHigh.Wait() blocks thread
empty_catchHighEmpty catch swallows exceptions
console_writeline_leftoverLowDebug Console.WriteLine left in code
thread_sleep_blockingMediumThread.Sleep blocks thread

JavaScript / TypeScript

IssueSeverityDescription
promise_without_catchHighPromise chain without .catch()
async_without_try_catchMediumAsync function without error handling
console_log_leftoverLowDebug console.log left in code
explicit_any_typeMediumExplicit use of any type (TS)
ts_ignore_commentHigh@ts-ignore suppresses errors (TS)

Python

IssueSeverityDescription
bare_exceptHighBare except catches all exceptions
wildcard_importMediumWildcard import pollutes namespace
print_statement_leftoverLowDebug print left in code

Visual Studio Debugging Tips

Breakpoints

  • F9 - Toggle breakpoint
  • F5 - Start debugging
  • F10 - Step over
  • F11 - Step into
  • Shift+F11 - Step out

Debug Windows

  • Watch - Monitor variables
  • Immediate - Evaluate expressions
  • Call Stack - Trace execution
  • Locals - View local variables
  • Autos - View relevant variables

Advanced Features

  • Conditional breakpoints - Right-click breakpoint > Conditions
  • Hit count - Break after N hits
  • Exception settings - Break on specific exceptions
  • Edit and Continue - Modify code while debugging

Example: Debugging AI-Generated C# Code

const debugger = require('./skills/agent-code-debugger');

const aiGeneratedCode = `
public async void ProcessData() {
    var result = GetDataAsync().Result;
    Console.WriteLine($"Debug: {result}");
    try {
        // Process result
    } catch {
        // Handle error
    }
}
`;

// Analyze
const analysis = debugger.analyze(aiGeneratedCode, { language: 'csharp' });
console.log(analysis.summary);
// Found 4 issue(s): 3 high, 1 low

// Get fixes
const fixes = debugger.suggestFixes(analysis.issues);
for (const fix of fixes) {
  console.log(`Line ${fix.line}: ${fix.type}`);
  console.log(`Fix: ${fix.fixSuggestion}`);
}

// Quick fix
const cleaned = debugger.quickFix(aiGeneratedCode, 'console_writeline_leftover');

// Get VS guidance
const guidance = debugger.getVisualStudioGuidance('csharp');
console.log('Tips:', guidance.tips);

Example: Generating Debug Configuration

const debugger = require('./skills/agent-code-debugger');

// For C# / .NET Core
const csharpConfig = debugger.generateDebugConfig('csharp');
console.log(JSON.stringify(csharpConfig.vscode, null, 2));

// For TypeScript
const tsConfig = debugger.generateDebugConfig('typescript');
console.log(JSON.stringify(tsConfig.vscode, null, 2));

Notes

  • Pattern detection based on common AI-generated code issues
  • Security vulnerability scanning included
  • Multi-language support with language-specific patterns
  • Visual Studio and VS Code integration guidance
  • Quick fixes available for common cleanup tasks
  • Reports generated in markdown format

Comments

Loading comments...