news 2026/9/5 15:49:07

Custom System Prompt

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
Custom System Prompt

Custom System Prompt

【免费下载链接】gemini-cliAn open-source AI agent that brings the power of Gemini directly into your terminal.项目地址: https://gitcode.com/GitHub_Trending/gemi/gemini-cli

You are a helpful assistant. ${AgentSkills} ${SubAgents}

Tooling

The following tools are available to you: ${AvailableTools}

You can use ${write_file_ToolName} to save logs.

替换后,`${AgentSkills}` 处展开为技能小节(无技能时为空字符串),`${AvailableTools}` 处展开为如 `- read_file\n- write_file\n- run_shell_command...` 的工具清单,`${write_file_ToolName}` 展开为 `write_file`。相关行为可由 [prompts-substitution.test.ts](https://link.gitcode.com/i/b1ed1b5a2d83dba64fd0327f09f95a0d) 与 [promptProvider.test.ts](https://link.gitcode.com/i/851cc78f2207d30bd67f9be4ba90c054) 验证。 ## 导出默认提示词(推荐操作) 在动手覆盖之前,文档强烈建议先把当前内置提示词导出到文件,审阅其中的安全与工作流规则后再选择性修改。操作方式: - 写入项目默认路径: ```bash GEMINI_WRITE_SYSTEM_MD=1 gemini

这会把当前内置系统提示词写入./.gemini/system.md

  • 或写入自定义路径:

    GEMINI_WRITE_SYSTEM_MD=~/prompts/DEFAULT_SYSTEM.md gemini

【免费下载链接】gemini-cliAn open-source AI agent that brings the power of Gemini directly into your terminal.项目地址: https://gitcode.com/GitHub_Trending/gemi/gemini-cli

创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/9/5 15:48:50

挑一款用得下去的 Oh My Posh 主题:终端美化选型与上手指南

挑一款用得下去的 Oh My Posh 主题:终端美化选型与上手指南 【免费下载链接】oh-my-posh The most customisable and low-latency cross platform/shell prompt renderer 项目地址: https://gitcode.com/GitHub_Trending/oh/oh-my-posh 终端还是默认的黑底白…

作者头像 李华
网站建设 2026/9/5 15:46:49

如何免费解锁Wand远程控制:Wand-Enhancer指南

如何免费解锁Wand远程控制:Wand-Enhancer指南 【免费下载链接】Wand-Enhancer Advanced UX and interoperability extension for Wand (WeMod) app 项目地址: https://gitcode.com/GitHub_Trending/we/Wand-Enhancer 键盘在书房,你在沙发&#xf…

作者头像 李华
网站建设 2026/9/5 15:46:09

MAA 自动公招怎么配置?4 个参数就能接管你的公开招募

MAA 自动公招怎么配置?4 个参数就能接管你的公开招募 【免费下载链接】MaaAssistantArknights 《明日方舟》小助手,全日常一键长草!| A one-click tool for the daily tasks of Arknights, supporting all clients. 项目地址: https://gitc…

作者头像 李华
网站建设 2026/9/5 15:45:25

Arduino下SG90 360度连续旋转舵机实测:PWM控制与开环控制详解

刚入手 SG90 舵机时,我想做一个小型摇头云台,按网上的教程写 servo.write(90) 确实能转,但换成另一颗“SG90”后,角度却对不上,甚至出现“明明让舵机转 180,结果它自己转了一圈又一圈”的现象。后来才发现…

作者头像 李华