Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/nongjun/feishu-cursor-claw/gitgit clone --depth 1 https://github.com/nongjun/feishu-cursor-clawWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00669 |
| Opus 5 | $0.00000 | $0.00334 |
| Sonnet 5 | $0.00000 | $0.00134 |
| Haiku 4.5 | $0.00000 | $0.00067 |
Grade A, and why
Git提交和推送 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Git 提交和推送命令
当用户调用此命令时,执行以下操作:
目标仓库
- 默认仓库:当前工作区根目录
- 自动检测已配置的远程仓库(origin 及其他远程)
- 所有 git 操作通过本命令执行
操作步骤
设计原则:先提交再拉取,本地更改始终安全保存在提交中
0. 健康检查(自动执行,有问题才输出)
检查并自动修复常见的 Git 仓库问题:
- 如果存在 stash,清理掉(本项目禁止使用 stash)
- 如果 index 文件损坏(存在未解决的合并冲突标记),重建 index
1. 检查 Git 状态
- 运行
git status查看当前工作区 - 如果没有任何更改,提示用户并结束
2. 提交代码
git add -A- 分析改动内容,生成提交信息:
- 格式:
[类型] 简要描述 - 类型:feat / fix / docs / style / refactor / chore
- 多模块改动时:第一行概括,下方按模块列出要点
- 格式:
git commit -m "提交信息"
3. 拉取远程更新
git pull --rebase origin <当前分支>- rebase 保持线性历史,不同文件会自动合并
4. 推送到远程
- 自动检测所有已配置的远程仓库,并行推送
- 对非主远程设置 45 秒超时(网络不稳定时),超时不阻塞,提示后续手动重试即可
- 新分支使用
git push -u
5. 输出结果表格
| 步骤 | 状态 |
|------|------|
| 健康检查 | ✅ / ⚠️ 已修复 |
| 提交 | ✅ commit_hash — 文件数, +增/-删 |
| 拉取更新 | ✅ / 合并了 N 个提交 |
| 推送 origin | ✅ / ❌ |
| 推送 其他远程 | ✅ / ⏳ 超时 |
示例提交信息
单模块:
[feat] 添加用户登录功能
多模块:
[feat] 用户管理优化与消息模块增强
用户管理:
- 新增批量导入功能
- 权限校验优化
消息模块:
- 新增模板消息支持
注意事项
- 显示操作的每一步结果,让用户了解进度
- 某个远程推送失败不影响其他远程的推送
- 禁止使用 git stash:本项目采用"先提交再拉取"策略
- 冲突标记搜索排除 node_modules 和 .git 目录
- 如果 Cursor 的 git 扩展已禁用(
git.enabled: false),请勿恢复,避免自动 stash 污染 index
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 84 lines · 0 tokens per session scan A 6e69e2ffcf9c
Git提交和推送 is a command published in the GitHub repository nongjun/feishu-cursor-claw (14 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 669 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
commit
Create one conventional commit from an already-scoped change; never push.
release-prep
Review the local working tree, commit, push, open a PR, drive it merge-ready — do not merge.
commit
Create a local git commit for source skills without pushing.
ham
This command initiates the HAM (Hamster Automated Management) workflow for task execution.
complexity-report
Display the task complexity analysis report.
add-subtask
Command "add-subtask" from eyaltoledano/claude-task-master, covering adding subtasks, argument parsing, execution modes, 1. create new subtask and 2. convert existing task.