Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

codemendcodemend 分析

Agent Skill

codemend 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,691

周安装

111

GitHub Stars

公开资料未说明

下载量

879
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:codemend(codemend 分析)
来源仓库:https://github.com/hankmint/codemend
安装命令:
openclaw skills install codemend
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install codemend

简介

通过自动分析和拉取请求集成,监视、报告并获取 AI 生成的针对 JavaScript 和 TypeScript 生产错误的修复。

SKILL.md

name
codemend
version
1.1.0
description
AI-powered error monitoring — report errors, get AI fixes, and list recent errors
requires
env
tools
description
Report a production error to Codemend for AI analysis and fix generation
parameters
message
type
string
required
true
description
The error message (e.g. "TypeError: Cannot read properties of undefined")
stack
type
string
description
Full stack trace
source_url
type
string
description
URL where the error occurred
returns
error_id
string
status
string
description
Get the AI-generated fix for a reported error (includes explanation, root cause, fix prompt, and PR URL if applicable)
parameters
error_id
type
string
required
true
description
The error ID returned from report_error
returns
error
object
fix
object
dashboard_url
string
description
List recent errors for this project with optional status filter
parameters
limit
type
number
description
Number of errors to return (default 10, max 50)
status
type
string
description
Filter by status: new, analyzing, analyzed, fix_applied, ignored
returns
errors
array
total
number

Codemend AI Skill

Codemend captures production JavaScript/TypeScript errors, analyzes them with AI, and generates fixes — either as GitHub PRs or paste-back prompts for AI coding tools like Lovable, Replit, and Cursor.

Tools

report_error

Report a production error to Codemend. The error will be analyzed by AI within seconds.

curl -X POST "https://codemend.ai/api/errors/ingest" \
  -H "Content-Type: application/json" \
  -d '{
    "key": "'$CODEMEND_API_KEY'",
    "message": "TypeError: Cannot read properties of undefined (reading '\''map'\'')",
    "stack": "TypeError: Cannot read properties of undefined\
    at renderList (src/components/List.tsx:15:23)",
    "source_url": "https://myapp.com/dashboard",
    "source_type": "openclaw"
  }'

Response:

{ "status": "queued", "error_id": "uuid-here" }

get_fix

Get the AI-generated fix for a reported error. Includes explanation, root cause, confidence score, and a fix prompt you can paste into your AI coding tool.

curl -s "https://codemend.ai/api/errors/{ERROR_ID}/fix" \
  -H "x-api-key: $CODEMEND_API_KEY"

Response:

{
  "error": {
    "id": "uuid",
    "status": "analyzed",
    "message": "TypeError: Cannot read properties of undefined",
    "stack_trace": "...",
    "source_url": "https://myapp.com/dashboard"
  },
  "fix": {
    "id": "uuid",
    "explanation": "The map() call fails because data is undefined on first render",
    "root_cause": "Missing null check before array operation",
    "confidence": 0.92,
    "fix_prompt": "In src/components/List.tsx, add an early return if data is undefined...",
    "pr_url": "https://github.com/user/repo/pull/42"
  },
  "dashboard_url": "https://codemend.ai/errors/uuid"
}

If the error is still being analyzed, the fix field will be null. Poll with check_status first.

check_status

Check if an error has been analyzed yet.

curl -s "https://codemend.ai/api/errors/{ERROR_ID}/status" \
  -H "x-api-key: $CODEMEND_API_KEY"

Response:

{
  "status": "analyzed",
  "message": "TypeError: Cannot read properties of undefined",
  "has_fix": true,
  "fix_id": "uuid-here",
  "dashboard_url": "https://codemend.ai/dashboard/errors/uuid"
}

Statuses: newanalyzinganalyzed / fix_applied / ignored

list_errors

List recent errors for this project.

curl -s "https://codemend.ai/api/errors?limit=10&status=analyzed" \
  -H "x-api-key: $CODEMEND_API_KEY"

Response:

{
  "errors": [
    {
      "id": "uuid",
      "status": "analyzed",
      "message": "TypeError: Cannot read properties of undefined",
      "source_type": "openclaw",
      "has_fix": true,
      "fix_id": "uuid",
      "created_at": "2026-03-11T12:00:00Z"
    }
  ],
  "total": 42
}

Setup in a Project

Browser (React, Next.js, Vue, etc.)

Add to your HTML <head>:

<script src="https://codemend.ai/s.js" data-key="YOUR_API_KEY"></script>

Or if using an AI coding tool (Lovable, Replit, Bolt, etc.), paste this prompt:

Add this error monitoring script to my app. Put it in the <head> section of index.html: <script src="https://codemend.ai/s.js" data-key="YOUR_API_KEY"></script>

Node.js / Backend

npm install codemend
const codemend = require('codemend');
codemend.init({ apiKey: process.env.CODEMEND_API_KEY });
codemend.setupProcessHandlers();

Express

const codemend = require('codemend');
codemend.init({ apiKey: process.env.CODEMEND_API_KEY });
app.use(codemend.expressErrorHandler());

React Native

import codemend from 'codemend/react-native';
codemend.init({ apiKey: 'YOUR_API_KEY' });
codemend.setupErrorHandler();

Typical Workflow

  1. Set up error monitoring in your project (above)
  2. Errors are automatically captured and sent to Codemend
  3. Use list_errors to see recent errors
  4. Use get_fix to get the AI-generated fix
  5. Apply the fix: paste the fix_prompt into your AI tool, or review the PR on GitHub

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

90.26%
按下载量换算793

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills