Skill站外收录 @skilllib/skill-2014279400949231621
acquiring-skills
提供一套安全获取和集成外部技能的标准化流程,涵盖从可信与不可信源识别、用户授权确认、脚本安全审查,到本地化安装与动态注册的完整闭环,适用于需要快速引入专业能力(如网页测试、PDF生成)但又必须保障执行环境可信的场景。
文档处理 AI 技能
Skills.MD
# Acquiring New Skills
This skill teaches you how to safely discover and install skills from external sources.
## SAFETY - READ THIS FIRST
Skills can contain:
- **Markdown files** (.md) - Risk: prompt injection, misleading instructions
- **Scripts** (Python, TypeScript, Bash) - Risk: malicious code execution
### Trusted Sources (no user approval needed for download)
- `https://github.com/letta-ai/skills` - Letta's community skills
- `https://github.com/anthropics/skills` - Anthropic's official skills
### Untrusted Sources (ALWAYS verify with user)
For ANY source other than letta-ai or anthropics:
1. Ask the user before downloading
2. Explain where the skill comes from
3. Get explicit approval
### Script Safety
Even for skills from trusted sources, ALWAYS:
1. Read and inspect any scripts before executing them
2. Understand what the script does
3. Be wary of network calls, file operations, or system commands
## When to Use This Skill
**DO use** when:
- User asks for something where a skill likely exists (e.g., "help me test this webapp", "generate a PDF report")
- You think "there's probably a skill that would bootstrap my understanding"
- User explicitly asks about available skills or extending capabilities
**DON'T use** for:
- General coding tasks you can already handle
- Simple bug fixes or feature implementations
- Tasks where you have sufficient knowledge
## Ask Before Searching (Interactive Mode)
If you recognize a task that might have an associated skill, **ask the user first**:
> "This sounds like something where a community skill might help (e.g., webapp testing with Playwright). Would you like me to look for available skills in the Letta or Anthropic repositories? This might take a minute, or I can start coding right away if you prefer."
The user may prefer to start immediately rather than wait for skill discovery.
Only proceed with skill acquisition if the user agrees.
## Skill Repositories
| Repository | Description |
|------------|-------------|
| https://github.com/letta-ai/skills | Community skills for Letta agents |
| https://github.com/anthropics/skills | Anthropic's official Agent Skills |
Browse these repositories to discover available skills. Check the README for skill listings.
## Installation Locations
| Location | Path | When to Use |
|----------|------|-------------|
| **Global** | `~/.letta/skills/<skill>/` | General-purpose skills useful across projects |
| **Project** | `.skills/<skill>/` | Project-specific skills |
**Rule**: If useful across multiple projects, install globally. If project-specific, install in `.skills/`.
## How to Download Skills
Skills are directories containing SKILL.md and optionally scripts/, references/, examples/.
### Method: Clone to /tmp, then copy
```bash
# 1. Clone the repo (shallow)
git clone --depth 1 https://github.com/anthropics/skills /tmp/skills-temp
# 2. Copy the skill to your skills directory
# For global:
cp -r /tmp/skills-temp/skills/webapp-testing ~/.letta/skills/
# For project:
cp -r /tmp/skills-temp/skills/webapp-testing .skills/
# 3. Cleanup
rm -rf /tmp/skills-temp
```
### Alternative: rsync (preserves permissions)
```bash
git clone --depth 1 https://github.com/anthropics/skills /tmp/skills-temp
rsync -av /tmp/skills-temp/skills/webapp-testing/ ~/.letta/skills/webapp-testing/
rm -rf /tmp/skills-temp
```
## Registering New Skills
After downloading, refresh the skills list:
```
Skill(command: "refresh")
```
This scans `~/.letta/skills/` and `.skills/` and updates your `skills` memory block.
## Complete Example
User asks: "Can you help me test my React app's UI?"
1. **Recognize opportunity**: Browser/webapp testing - likely has a skill
2. **Ask user**: "Would you like me to look for webapp testing skills, or start coding right away?"
3. **If user agrees, find skill**: Check anthropics/skills for webapp-testing
4. **Download** (trusted source):
```bash
git clone --depth 1 https://github.com/anthropics/skills /tmp/skills-temp
cp -r /tmp/skills-temp/skills/webapp-testing ~/.letta/skills/
rm -rf /tmp/skills-temp
```
5. **Refresh**: `Skill(command: "refresh")`
6. **Inspect scripts**: Read any .py or .ts files before using them
7. **Load**: `Skill(command: "load", skills: ["webapp-testing"])`
8. **Use**: Follow the skill's instructions for the user's task
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
building-with-kafka-strimzi
在 Kubernetes 上构建基于 Apache Kafka 的事件驱动系统,支持高可靠的消息传递、事务性处理与精确一次语义,结合 Strimzi 运营商实现集群自动化管理,利用 Schema Registry 保障事件模式演进,适用于微服务间解耦通信与实时数据流处理场景。
站外数据与分析
609 0.0
personal-tool-builder
专注于从个人真实痛点出发快速构建实用工具,涵盖命令行程序、本地优先应用和自动化脚本的开发与演进,强调先满足自身需求再逐步扩展,通过持续自用打磨功能,避免过度设计,确保工具简洁有效且长期可维护。
站外商业与营销
196 0.0
threejs-lighting
实现三维场景中的光照与阴影控制,支持多种光源类型及环境光照明,提供从基础布光到高级阴影优化的完整方案,适用于需要真实感渲染或性能平衡的可视化项目。
站外效率工具
442 0.0
aggregation-helper
提供数据聚合场景的自动化辅助能力,涵盖 SQL 查询编写、统计分析建模、可视化方案设计及商业智能配置,支持从需求理解到生产级代码生成的全流程指导。
站外效率工具数据与分析
217 0.0
举报「acquiring-skills」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次