feat(local): 技能通用规则进提示词,移除 skills/AGENTS.md 中转
- env-local 加两条:长任务后台写日志+10 秒轮询;国内 pip/npm/GitHub/brew 换源 - 4 个技能 AGENTS.md 删掉指向根文档的指针行;pip 命令补 --upgrade - document-photo-to-pdf:自检未能执行时单独给摘要,不再伪装成「建议确认」 - SKILL.md 示例去掉真实域名,改成 <站点地址> - 删除 skills/AGENTS.md(根级中转文档,靠出错时翻文件拉不动)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
`ModuleNotFoundError: No module named 'PIL'`:把依赖装进 `$AGENT_SKILLS_DEPS`
|
||||
|
||||
```sh
|
||||
python3 -m pip install --target "$AGENT_SKILLS_DEPS" -r "$(dirname "$AGENT_SKILLS_DEPS")/image-process/requirements.txt"
|
||||
python3 -m pip install --upgrade --target "$AGENT_SKILLS_DEPS" -r "$(dirname "$AGENT_SKILLS_DEPS")/image-process/requirements.txt"
|
||||
```
|
||||
|
||||
`中文水印缺少字体`:传 `font` 参数,指向本机任意中文字体文件(ttf/ttc)
|
||||
@@ -13,5 +13,3 @@ python3 -m pip install --target "$AGENT_SKILLS_DEPS" -r "$(dirname "$AGENT_SKILL
|
||||
```
|
||||
|
||||
找字体:Linux `fc-list :lang=zh`;macOS `ls /System/Library/Fonts`;Windows `C:\Windows\Fonts\msyh*`。
|
||||
|
||||
网络慢或装不上(pip / GitHub 等):见技能根目录的 `AGENTS.md`。
|
||||
|
||||
Reference in New Issue
Block a user