360 Secure SkillHub
360 安全技能中心

Edith Augment Code

该技能依托Auggie CLI,可通过Edith智能眼镜或OpenClaw渠道,实现代码生成、项目分析、bug调试、原型制作、编码建议等核心功能。当用户提出构建、分析、调试等编码相关需求时触发,输入为自然语言指令,输出会适配场景优化,如语音场景简洁表述,分析类给出核心发现,调试类提供根因与修复方案。需提前安装并登录Auggie CLI。

samdickson22
samdickson22
热度 36.02
最近更新 2026-05-11 17:37:48
分类:开发依赖:代码执行应用场景:代码生成 / 代码审查 / 调试排错

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add edith-augment-code
Metadata
name
edith-augment-code
description
Use Augment Code (Auggie CLI) to analyze, generate, and modify code through Edith smart glasses or OpenClaw. Triggers when the user asks to build, code, debug, analyze, or prototype something.
user-invocable
true

Augment Code via Auggie CLI

Use Augment Code's powerful context engine and agentic coding capabilities through OpenClaw. This skill wraps the auggie CLI to let users generate code, analyze projects, debug issues, and build prototypes — hands-free through Edith glasses or any OpenClaw channel.

Prerequisites

  • Auggie CLI installed: npm install -g @augmentcode/auggie
  • Logged in: auggie login

When to use

Trigger this skill when the user asks to:

  • Build, create, or scaffold something ("build me a landing page", "create a REST API")
  • Analyze or review code ("analyze this codebase", "review this function")
  • Debug or fix issues ("why is this failing", "fix the auth bug")
  • Prototype or generate code ("prototype a todo app", "generate a React component")
  • Get code suggestions or insights ("how should I structure this", "what's wrong with this approach")

How to use

Generate code or build something

Run auggie in print mode for one-shot tasks:

auggie --print "Build a simple Express API with /health and /users endpoints" 2>&1

Analyze the current project

auggie --print "Analyze this codebase and give me a summary of the architecture" 2>&1

Debug an issue

auggie --print "Look at the recent error in src/ws-relay.ts and suggest a fix" 2>&1

Get quiet/structured output

For clean responses without step details:

auggie --print --quiet "What dependencies does this project use and are any outdated?" 2>&1

Response formatting

When returning results to the user (especially through Edith glasses voice output):

  • Summarize the key output concisely
  • For code generation: describe what was created and where
  • For analysis: give the top 3-5 findings
  • For debugging: state the root cause and fix
  • Keep it conversational and brief — this may be spoken aloud through glasses

Error handling

  • If auggie is not installed: tell the user to run npm install -g @augmentcode/auggie
  • If not logged in: tell the user to run auggie login
  • If the command times out: suggest breaking the task into smaller pieces
  • Auggie may take 10-30 seconds for complex tasks — warn the user if it's a big request