整理文件路径:Technical→AI/
This commit is contained in:
@@ -1,267 +0,0 @@
|
||||
#api-key #deepseek #gemini #google #aws #x #notion #n8n #github #wavespeed #siliconflow #airtable #brightdata #telegram
|
||||
|
||||
```table-of-contents
|
||||
title:
|
||||
style: nestedList # TOC style (nestedList|nestedOrderedList|inlineFirstLevel)
|
||||
minLevel: 0 # Include headings from the specified level
|
||||
maxLevel: 0 # Include headings up to the specified level
|
||||
include:
|
||||
exclude:
|
||||
includeLinks: true # Make headings clickable
|
||||
hideWhenEmpty: false # Hide TOC if no headings are found
|
||||
debugInConsole: false # Print debug info in Obsidian console
|
||||
```
|
||||
|
||||
## Gemini API Key #gemini
|
||||
### ishenwei00@gmail.com
|
||||
```
|
||||
AIzaSyDL78Kuk_J-mxJShRCulfoV5KmtZbcj9cU
|
||||
```
|
||||
|
||||
## DeepSeek #deepseek
|
||||
|
||||
```
|
||||
sk-a309a673569743ebb05d0991d3f6e51a
|
||||
```
|
||||
|
||||
|
||||
---
|
||||
## Telegram HTTP API #telegram
|
||||
|
||||
### ishenwei_bot
|
||||
t.me/ishenwei_bot
|
||||
```
|
||||
8134005762:AAHVjACJ4egbEPNY0-oiihWTM30fVt4rIoc
|
||||
```
|
||||
|
||||
### Telegram OpenClaw Bot
|
||||
|
||||
#### 星辉
|
||||
t.me/shenwei_macmini_xinghui_bot
|
||||
```
|
||||
8709222939:AAEfvZrvvU5vZFsmacsR5nmpkJ2Jb5JgfRg
|
||||
|
||||
#telegram user id
|
||||
5038825565
|
||||
```
|
||||
#### 星曜
|
||||
t.me/shenwei_macmini_xingyao_bot
|
||||
```
|
||||
8414432613:AAG9hvKfILGSsbc1EMEZW1QVym9Quc5aHWk
|
||||
```
|
||||
|
||||
|
||||
## Google API Key #google
|
||||
|
||||
n8n-workflow OAuth 2.0 Client ID
|
||||
```
|
||||
109190465048-ndh8t3ngec7sqds0ll716knt7laffirk.apps.googleusercontent.com
|
||||
```
|
||||
|
||||
Client Secret:
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
## AWS #aws
|
||||
```
|
||||
AWS Account: 551360491749
|
||||
Access Key AKIAYAX5FODS42V2CYUQ
|
||||
Secret Access Key H9/b1/87fgpv4ZgzOTdg3rza9fLT2ac6KlrdurzF
|
||||
```
|
||||
|
||||
## News API Key
|
||||
https://newsapi.org/
|
||||
d2bf79c13a9e4feb80422c9d4ca6404a
|
||||
|
||||
Definition
|
||||
|
||||
```
|
||||
GET https://newsapi.org/v2/everything?q=Apple&from=2025-03-08&sortBy=popularity&apiKey=API_KEY
|
||||
```
|
||||
Example request
|
||||
|
||||
```bash
|
||||
curl https://newsapi.org/v2/everything -G \
|
||||
-d q=Apple \
|
||||
-d from=2025-03-08 \
|
||||
-d sortBy=popularity \
|
||||
-d apiKey=d2bf79c13a9e4feb80422c9d4ca6404a
|
||||
```
|
||||
|
||||
|
||||
## X #x
|
||||
```
|
||||
API Key: 3WzvwLqw5ZN1GsJzQ0W7K6t6H
|
||||
API Key Secret: msYmcAuVKrBqMjfk6rgRucmuDwKRfhoZCTlgkaD4FKiOlAm57Y
|
||||
|
||||
OAUTH
|
||||
Client ID: d3k2eVNoYXY0REFoX2dvVEg2a0E6MTpjaQ
|
||||
Client Secret: wbPcvt-qAbigVFa4Jn9Bj0lyl4W6ie2bvZJrcfp81MF5Rptwps
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Notion #notion
|
||||
https://www.notion.com/my-integrations
|
||||
Internal Integration Secret:
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
任务调度
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
|
||||
## Pexel #plex
|
||||
```
|
||||
uVZ6Benfr5yzaG8c8er1K6u4r3a4JXWw9AMsYIhorw9GhRfQ5Vzxd8S5
|
||||
```
|
||||
|
||||
|
||||
## Wavespeed API key #wavespeed
|
||||
https://wavespeed.ai/dashboard
|
||||
```
|
||||
b023e330aef99c65cb2a1801d6042a70a020cb645cd7383d7ed0bc54a750ce35
|
||||
```
|
||||
|
||||
## n8n API key #n8n
|
||||
https://n8n.ishenwei.online
|
||||
```
|
||||
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2MjE5M2RhYi04YTI0LTQ2MzEtYjM0NS1mMjg4OTJiZDI3ZmEiLCJpc3MiOiJuOG4iLCJhdWQiOiJwdWJsaWMtYXBpIiwianRpIjoiNzE1NTZkYWMtOTFiNS00ZGMzLWE3ZGQtMDA5YzJkZmYwZWU1IiwiaWF0IjoxNzc0MzIzNTYzfQ.XSGiXXTvvMgwfDmmqgoeoaDC8sBfXBV6DtxbLNFaV9k
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Github Personal Access Token(classic) #github
|
||||
Clawhub installation (only have public_repo readonly permission)
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
## Siliconflow API key #siliconflow
|
||||
https://cloud.siliconflow.cn/me/account/ak
|
||||
```
|
||||
sk-ssdzoysqyppfaoubcpwrwzlcmbifoumpqchgisyawgwgrfia
|
||||
```
|
||||
|
||||
|
||||
## Stable Horde
|
||||
```
|
||||
7kvqIQs62Asyzj1I0UMhfQ
|
||||
```
|
||||
|
||||
|
||||
## BrightData #brightdata
|
||||
https://brightdata.com/cp/setting/users
|
||||
```
|
||||
011ac709c39e73762ef01946f0ca17b151e8c612e4c532e87764c23c61047ecf
|
||||
```
|
||||
|
||||
## Airtable #airtable
|
||||
```
|
||||
patB48t4Nl1WKftUs.ef6e99b44095d7da80778b872addef3fa27b5079e7408e62afb3817c3479c8da
|
||||
```
|
||||
|
||||
## OpenAI
|
||||
### ishenwei@gmail.com
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
## OpenCode Zen
|
||||
https://opencode.ai/workspace/wrk_01KEH03Q231Y9EQQAVM0ZHG1K4
|
||||
```
|
||||
sk-70Kjcr1Au8CdM5CvIQz6FHvR5AfhtwtvuerY3sBsy6vaXGGkTcN2arhFmAV0auJh
|
||||
```
|
||||
|
||||
|
||||
## 飞书
|
||||
App ID:
|
||||
```
|
||||
cli_a93a4a4624e19bc9
|
||||
```
|
||||
App Secret
|
||||
```
|
||||
xfZKkekUhARQ3DWQ65GOVhCqCNO4ckGV
|
||||
```
|
||||
Verification Token
|
||||
```
|
||||
nz3l8CEvSsUvmJb6LDhKrd24zjWKDxiM
|
||||
```
|
||||
8566920841:AAEfvOFAZ86fPKQdZ9Dm4-wnR46Asm7B7nU
|
||||
|
||||
|
||||
## MiniMax
|
||||
https://platform.minimaxi.com/user-center/basic-information
|
||||
```
|
||||
sk-cp-H0FwKNry9PnMJmLng7W51OfbN6XWbfN_9pfMnI89smCmbPNIHzUuOibPtzikdK8rzRuB9uuunGmN_SPoOBZOUgy2_D9Sm3_ivQ1LYc5Cm48cpC2mQ07hDnE
|
||||
```
|
||||
|
||||
## Tavily API Key
|
||||
https://app.tavily.com/home
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
## OpenRouter
|
||||
https://openrouter.ai/workspaces/default/keys
|
||||
For OpenClaw
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
For Claude Code
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
## AgentMail
|
||||
https://console.agentmail.to/dashboard/api-keys
|
||||
```---
|
||||
title: star-agent-mail-api-key
|
||||
author: shenwei
|
||||
tags: [airtable, api-key, aws, brightdata, deepseek, gemini, github, google, n8n, notion, plex, siliconflow, telegram, wavespeed, x]
|
||||
---
|
||||
|
||||
# star-agent-mail-api-key
|
||||
am_us_inbox_02cca1b9cdc0adf061ddb5b9f11253aaf0bed554dee2e78f026f9463e83c8294
|
||||
|
||||
```
|
||||
|
||||
## ElevenLabs
|
||||
https://elevenlabs.io/app/developers/api-keys
|
||||
```
|
||||
sk_6e7d663649b5c931893cee6f72fc174893470b89e92e723c
|
||||
```
|
||||
|
||||
## Scrapecreators API
|
||||
https://app.scrapecreators.com/
|
||||
```
|
||||
EYZCRa1FqWSA7YtW4UmEavyKNVB2
|
||||
```
|
||||
|
||||
## Xai
|
||||
https://console.x.ai/team/7ad45818-bfe7-4517-b64c-a21d9c81dbea/api-keys/create
|
||||
https://console.x.ai/team/7ad45818-bfe7-4517-b64c-a21d9c81dbea
|
||||
```
|
||||
xai-fGtb2ovSYfeVfPEJoMKNZKJl0SkuILeh0RnU8aCMjkntD3zNACe8rSCZigRf4ouRIRfiZuKwwmh6m8lw
|
||||
```
|
||||
|
||||
## Unsplash
|
||||
https://unsplash.com/oauth/applications/910597
|
||||
Application ID:
|
||||
```
|
||||
910597
|
||||
```
|
||||
|
||||
Access Key
|
||||
```
|
||||
bzq5vp2kcUqlKTtLL3dwECkha1-jinwttn5JlhwjTBw
|
||||
```
|
||||
Secret Key
|
||||
```
|
||||
BJVys7j427n0xgLOX7AmCu2evMBbJzBVtcukQY6hKak
|
||||
```
|
||||
106
raw/Agent/Google-5个Agent-Skill设计模式-2026-03-19.md
Normal file
106
raw/Agent/Google-5个Agent-Skill设计模式-2026-03-19.md
Normal file
@@ -0,0 +1,106 @@
|
||||
---
|
||||
title: 继Anthropic后,Google放出5个常用的Agent Skill设计模式
|
||||
source:
|
||||
author: shenwei
|
||||
published:
|
||||
created:
|
||||
description:
|
||||
tags: []
|
||||
---
|
||||
|
||||
# 继Anthropic后,Google放出5个常用的Agent Skill设计模式
|
||||
|
||||
**作者:** winkrun
|
||||
**来源:** https://mp.weixin.qq.com/s/yu120tW0l4DJAJfWmbJYxg
|
||||
**公众号:** AI工程化
|
||||
**日期:** 2026年3月19日 06:12
|
||||
**标签:** Agent、Skill、设计模式、Google、Anthropic
|
||||
|
||||
---
|
||||
|
||||
如果你也在写Agent Skills,应该会发现一个尴尬的事实:SKILL.md的格式已经标准化了,三十多个主流工具(Claude Code、Gemini CLI、Cursor……)都支持同一种写法。格式不再是问题,但很多人写着写着就发现——同样格式的skill,执行效果天差地别。
|
||||
|
||||
问题出在内容设计上。同样是一个skill,包装FastAPI规范和实现一个四步文档流水线,内部的逻辑结构完全不同,但外在看起来一模一样。Google Cloud最新发布的这份指南,由Saboo_Shubham_和lavinigam撰写,就是专门解决这个问题的。
|
||||
|
||||
这份指南总结了**五种经过验证的设计模式**,每种都有完整的ADK代码示例。
|
||||
|
||||
---
|
||||
|
||||
## Tool Wrapper:让agent快速成为某个领域的专家
|
||||
|
||||
这是最容易上手的模式。简单说,就是把某个库或框架的规范文档打包成一个skill,agent只有在真正用到这个技术时才会加载相关文档。
|
||||
|
||||
比如一个写FastAPI的skill,不需要把所有的API约定都塞进system prompt,而是让SKILL.md监听特定的库关键词,当用户开始写FastAPI代码时才动态加载references/目录下的conventions.md,把这些规则当作绝对真理来执行。
|
||||
|
||||
这特别适合分发团队内部的编码规范或者特定框架的最佳实践。
|
||||
|
||||
---
|
||||
|
||||
## Generator:从模板生成结构化输出
|
||||
|
||||
如果Tool Wrapper是应用知识,Generator则是强制一致的输出格式。很多agent每次运行生成的文档结构都不一样,Generator通过一个"填空"流程解决这个问题。
|
||||
|
||||
它利用两个可选目录:assets/存放输出模板,references/存放样式指南。SKILL.md扮演项目经理的角色,指示agent加载模板、读取样式指南、向用户询问缺失的变量、然后填充文档。
|
||||
|
||||
这对于生成统一的API文档、标准化commit信息或者脚手架项目结构都非常实用。
|
||||
|
||||
---
|
||||
|
||||
## Reviewer:把检查清单和检查逻辑分开
|
||||
|
||||
非常实用的模式之一。传统的代码审查会把所有规则都写进system prompt,结果越写越长。Reviewer模式把"检查什么"和"怎么检查"完全分开。
|
||||
|
||||
审查标准存放在references/review-checklist.md里,可以是Python风格检查,也可以换成OWASP安全检查——同样的skill基础设施,换个清单就是完全不同的专项审计。
|
||||
|
||||
代码示例展示了一个Python代码审查skill的结构。指令保持静态,但agent会动态加载特定的审查标准,并强制输出按严重程度分组的结构化结果。
|
||||
|
||||
---
|
||||
|
||||
## Inversion:agent先问你再做
|
||||
|
||||
这是最反直觉的模式。Agent天生喜欢直接猜测和生成,Inversion把这个流程完全反过来——agent变成面试官,先问你一系列问题,等你回答完再行动。
|
||||
|
||||
关键在于明确、不可协商的门控指令(比如"不到所有阶段完成就不开始构建")。Agent会逐个阶段提问,等待你的答案,然后才进入下一个阶段。
|
||||
|
||||
一个项目规划skill的示例展示了这一点:必须等用户回答完所有问题,agent才会加载plan-template.md并生成最终计划。
|
||||
|
||||
---
|
||||
|
||||
## Pipeline:带硬性检查点的严格工作流
|
||||
|
||||
对于复杂任务,你承受不起跳过步骤或者忽略指令的情况。Pipeline模式强制执行严格的顺序工作流,并在关键节点设置硬性检查点。
|
||||
|
||||
指令本身定义了工作流。通过实现明确的门控条件(比如要求用户在进入下一步之前确认生成的文档字符串),Pipeline确保agent无法绕过复杂任务直接给出未验证的最终结果。
|
||||
|
||||
一个文档流水线的例子展示了四个步骤:解析和清点、生成文档字符串、组装文档、质量检查。每一步都有明确的前置条件,用户必须在进入下一步之前确认。
|
||||
|
||||
---
|
||||
|
||||
## 选择合适的模式
|
||||
|
||||
每个模型都有其应用场景,可以根据下图来判断使用合适的模式。
|
||||
|
||||
---
|
||||
|
||||
## 这些模式可以组合使用
|
||||
|
||||
这是容易被忽视的一点。这五种模式并非互斥,而是可以组合。Pipeline可以在最后包含一个Reviewer步骤来 double-check 自己的成果;Generator可以在最开始依赖Inversion来收集必要的变量。
|
||||
|
||||
多亏了ADK的SkillToolset和渐进式披露机制,agent只在运行时需要时才消耗上下文token来加载特定的模式。
|
||||
|
||||
别再把所有复杂又脆弱的指令塞进一个system prompt了。把工作流拆分开,应用正确的结构模式,才能构建出真正可靠的agent。
|
||||
|
||||
---
|
||||
|
||||
## 相关链接
|
||||
|
||||
- 原文:https://x.com/i/article/2033941492633362432
|
||||
- awesome-agent-skills:https://github.com/skillmatic-ai/awesome-agent-skills
|
||||
|
||||
---
|
||||
|
||||
## 附录:Anthropic 的 Skill 实践
|
||||
|
||||
> Anthropic 把内部几百个 Skills 用了个遍,发现最好的 Skill 不是写得好的提示词,而是一个「工具箱」。他们把 Skills 分成九类,从参考手册到故障排查,每类都有明确的场景。写好 Skill 的三条铁律:只写 Agent 不知道的东西、重点写踩坑清单、给工具不给指令。
|
||||
|
||||
- Anthropic工程师分享的Claude Code技能设计指南:9种类型与实战技巧 https://wink.run/pings/content/111668?from=wx
|
||||
BIN
raw/Technical/.DS_Store
vendored
BIN
raw/Technical/.DS_Store
vendored
Binary file not shown.
@@ -1,70 +0,0 @@
|
||||
---
|
||||
title: Templater Obsidian Plugin
|
||||
source:
|
||||
author: shenwei
|
||||
published:
|
||||
created:
|
||||
description:
|
||||
tags: [obsidian, plugin]
|
||||
---
|
||||
|
||||
|
||||
#obsidian #plugin
|
||||
|
||||
# Templater Obsidian Plugin
|
||||
|
||||

|
||||
|
||||
[Templater](https://github.com/SilentVoid13/Templater) is a template plugin for [Obsidian.md](https://obsidian.md/). It defines a templating language that lets you insert variables and functions results into your notes. It will also let you execute JavaScript code manipulating those variables and functions.
|
||||
|
||||
## Documentation
|
||||
|
||||
Check out the complete [documentation](https://silentvoid13.github.io/Templater/) to start using [Templater](https://github.com/SilentVoid13/Templater).
|
||||
|
||||
## Warning
|
||||
|
||||
[Templater](https://github.com/SilentVoid13/Templater) allows you to execute arbitrary JavaScript code and system commands.
|
||||
|
||||
It can be dangerous to execute arbitrary JavaScript code or system commands from untrusted sources. Only run code / commands that you understand, from trusted sources.
|
||||
|
||||
## Template Showcase / Questions / Ideas / Help
|
||||
|
||||
Go to the [discussion](https://github.com/SilentVoid13/Templater/discussions) tab to ask and find this kind of things.
|
||||
|
||||
Don't be shy and share your templates created using [Templater](https://github.com/SilentVoid13/Templater) in the [Template Showcase](https://github.com/SilentVoid13/Templater/discussions/categories/templates-showcase) category. Use [gists](https://gist.github.com/) to share the template file.
|
||||
|
||||
## Resources
|
||||
|
||||
A list of useful resources about [Templater](https://github.com/SilentVoid13/Templater):
|
||||
|
||||
- @GitMurf quick demo `How to setup and run your first Templater JS script`: [https://github.com/SilentVoid13/Templater/discussions/187](https://github.com/SilentVoid13/Templater/discussions/187)
|
||||
- @shabegom `How To Use Templater JS Scripts`: [https://shbgm.ca/blog/obsidian/how-to-use-templater-js-scripts](https://shbgm.ca/blog/obsidian/how-to-use-templater-js-scripts)
|
||||
- @chhoumann Templates showcase: [https://github.com/chhoumann/Templater_Templates](https://github.com/chhoumann/Templater_Templates)
|
||||
- @zachatoo Templates showcase: [https://zachyoung.dev/posts/templater-snippets](https://zachyoung.dev/posts/templater-snippets)
|
||||
- @lguenth Templates showcase: [https://github.com/lguenth/obsidian-templates](https://github.com/lguenth/obsidian-templates)
|
||||
- @tallguyjenks video: [https://youtu.be/2234DXKbNgM?t=1944](https://youtu.be/2234DXKbNgM?t=1944)
|
||||
- @ProductivityGuru videos: [https://www.youtube.com/watch?v=cSawi0tYPMM](https://www.youtube.com/watch?v=cSawi0tYPMM)
|
||||
|
||||
## Alternatives
|
||||
|
||||
- [https://github.com/chhoumann/quickadd](https://github.com/chhoumann/quickadd)
|
||||
- [https://github.com/garyng/obsidian-temple](https://github.com/garyng/obsidian-temple)
|
||||
- [https://github.com/avirut/obsidian-metatemplates](https://github.com/avirut/obsidian-metatemplates)
|
||||
|
||||
## Contributing
|
||||
|
||||
Feel free to contribute.
|
||||
|
||||
You can create an [issue](https://github.com/SilentVoid13/Templater/issues) to report a bug, suggest an improvement for this plugin, ask a question, etc.
|
||||
|
||||
You can make a [pull request](https://github.com/SilentVoid13/Templater/pulls) to contribute to this plugin development.
|
||||
|
||||
Check [this](https://silentvoid13.github.io/Templater/internal-functions/contribute.html) to get more information on how to develop a new internal variable / function.
|
||||
|
||||
## License
|
||||
|
||||
[Templater](https://github.com/SilentVoid13/Templater) is licensed under the GNU AGPLv3 license. Refer to [LICENSE](https://github.com/SilentVoid13/Templater/blob/master/LICENSE.TXT) for more information.
|
||||
|
||||
## Support
|
||||
|
||||
If you want to support me and my work, you can [sponsor me on Github](https://github.com/sponsors/SilentVoid13) (preferred method) or donate something on [**Paypal**](https://www.paypal.com/donate?hosted_button_id=U2SRGAFYXT32Q).
|
||||
Reference in New Issue
Block a user