AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

E34 第三方集成 C2 多工具编排 R2 执行代码 Github Config Pr

skill-leisvip-agent-skill-taxonomy-e34-c2-r2-github-config-pr · by leisvip

Hermes Agent 配置修改、测试、提交 PR 的完整工作流。适用场景:(1) 修改 Hermes 配置并提交 PR,(2) 补丁创建与应用,(3) WSL 环境下 Git/GitHub 操作。触发词:'hermes配置'、'提交PR'、'修改prompt_builder'、'git补丁'。不适用:Skill 内容编写(用 skill-creator)、GitHub Issue 管理(用 github skill)。

No reviews yet
0 installs
27 views
0.0% view→install

Install

$ agentstack add skill-leisvip-agent-skill-taxonomy-e34-c2-r2-github-config-pr

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-leisvip-agent-skill-taxonomy-e34-c2-r2-github-config-pr)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of E34 第三方集成 C2 多工具编排 R2 执行代码 Github Config Pr? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

github-config-pr

Hermes Agent 配置修改、测试、提交 PR 的完整工作流。

配置(首次)

确保 gh CLI 已登录:

gh auth status
# 未登录则执行:
gh auth login

确保 SSH Key 已配置(WSL 环境推荐 SSH 方式):

ssh -T git@github.com
# 如果失败,生成并添加 Key:
ssh-keygen -t ed25519 -C "your@email.com"
cat ~/.ssh/id_ed25519.pub
# 将公钥添加到 GitHub → Settings → SSH Keys

核心教训

System Prompt 的会话级缓存

System Prompt 在会话启动时构建一次,整个会话期间不会更新。只有新会话才会重新构建。

验证方法:退出当前会话 (/exit),重启 Hermes (hermes),在新会话中验证。

hermes update 会覆盖本地修改

hermes update = git pull,会覆盖本地修改。需要创建补丁文件,update 后重新应用。

WSL 环境下的网络配置

WSL 可以直接访问 GitHub,不需要代理。代理端口只在 Windows 上可用。

常用命令

阶段 1:诊断与规划

# 验证当前工作目录
pwd

# 检查 Hermes 配置位置
ls ~/.hermes/

# 检查源代码位置
which hermes
ls $(dirname $(which hermes))/../lib/node_modules/hermes-agent/

阶段 2:备份

# 备份配置文件
cp -p  .bak.$(date +%Y%m%d_%H%M%S)

# 备份源代码文件
cp -p  .bak.$(date +%Y%m%d_%H%M%S)

阶段 3:创建补丁

# 修改后创建补丁
cd 
git diff > ~/.hermes/patches/.patch

# 应用补丁
git apply ~/.hermes/patches/.patch

# 应用补丁后重新安装
cd ~/.local/share/hermes && npm install
# 或
cd /usr/lib/node_modules/hermes && npm install

阶段 4:测试验证

# 退出当前会话后重启验证
# /exit
# hermes
# 在新会话中测试修改效果

阶段 5:Git/GitHub 操作

# 检查 gh 登录状态
gh auth status

# 克隆仓库(Fork 方式)
gh repo fork NousResearch/hermes-agent --clone
cd hermes-agent

# 创建功能分支
git checkout -b feature/your-feature-name

# 应用补丁
git apply ~/.hermes/patches/.patch

# 提交代码
git add .
git commit -m "feat: 简要描述修改内容"

# 推送到 Fork
git push origin feature/your-feature-name

# 创建 PR
gh pr create --repo NousResearch/hermes-agent \
  --title "feat: 简要描述" \
  --body "## 修改内容\n- 修改1\n- 修改2\n\n## 测试\n- 已在本地验证"

补丁管理

# 列出所有补丁
ls ~/.hermes/patches/

# hermes update 后重新应用
hermes update
git apply ~/.hermes/patches/.patch

注意事项

  • 修改前必须备份原文件,创建补丁
  • System Prompt 修改需要新会话才能生效
  • hermes update 会覆盖本地修改,update 后需重新应用补丁
  • WSL 环境推荐 SSH 方式连接 GitHub,避免 Token 权限问题
  • PR 描述要清晰说明修改内容和测试结果
  • 提交前检查 gh auth status 确认登录状态

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.