🧠 Super Agent Skills / 超级Agent能力库
Build a fully capable AI Agent with 20+ essential skills covering file operations, networking, databases, cloud services, security, and more.
Core Principle
A powerful AI Agent needs a comprehensive skill set to handle any task autonomously.
I. Foundation Skills
1. File Operations
- - Tools: File Manager, File Reader, File Writer
- Check: INLINECODE0
2. HTTP Requests
- - Tools: curl, wget, httpie
- Check: INLINECODE1
- Usage:
CODEBLOCK0
3. Scheduled Tasks
- - Tools: at, cron, schedule
- Use case: Delayed execution, reminders
CODEBLOCK1
4. Code Execution
- - Tools: python, node, bash
- Best practice: Use virtual environments, handle exceptions
5. Image Generation
- - Tools: DALL-E, Midjourney, Stable Diffusion API
6. Document Generation
- - Tools: python-pptx, python-docx, markdown, weasyprint
II. Advanced Skills
7. API Integration
- - REST API, GraphQL, Webhook
- Auth, error handling, retry mechanisms
8. Database Operations
- - Tools: sqlite3, pymysql, redis-cli
- SQL execution, NoSQL, ORM patterns
9. Cloud Services
- - Platforms: AWS, Alibaba Cloud, GCP
- ECS/EC2, S3/OSS, SLB/ALB
10. Message Queues
- - RabbitMQ, Kafka, Redis Pub/Sub
- Async tasks, event-driven architecture
11. Containerization
CODEBLOCK2
12. CI/CD
- - GitHub Actions, GitLab CI, Jenkins
- Build → Test → Deploy pipeline
III. Security Skills
13. Authentication
- - OAuth2, JWT, API Key management
- Secret storage via environment variables
14. Encryption
- - Tools: openssl, gpg, python-cryptography
15. Security Scanning
- - Tools: OWASP ZAP, Bandit, SonarQube
- Code audit, vulnerability scanning
IV. Efficiency Skills
16. Parallel Processing
- - asyncio, multiprocessing, threading
17. Caching
- - Redis, Memcached (LRU, TTL strategies)
18. Logging
- - ELK Stack, Loki, CloudWatch Logs
19. Monitoring & Alerting
- - Prometheus, Grafana, PagerDuty
20. Backup & Recovery
- - rsync, borg, duplicity
- Full + incremental backup strategies
Quick Environment Check
CODEBLOCK3
Task Execution Best Practices
- 1. Receive — Understand requirements, confirm parameters, plan execution
- Execute — Log steps, preserve evidence, handle exceptions
- Complete — Output results, provide logs, suggest next steps
Summary
Core Capability = Foundation Tools + Security Awareness + Best Practices
Regularly inventory your skills to stay current!
🧠 Super Agent Skills / 超级Agent能力库
构建一个功能完备的AI Agent,具备20+项核心技能,涵盖文件操作、网络通信、数据库、云服务、安全等领域。
核心原则
一个强大的AI Agent需要全面的技能集,才能自主处理任何任务。
一、基础技能
1. 文件操作
- - 工具:文件管理器、文件读取器、文件写入器
- 检查:ls -la ~/skills/
2. HTTP请求
- - 工具:curl、wget、httpie
- 检查:which curl && curl --version
- 用法:
bash
curl -sS https://api.example.com/data
curl -X POST -H Content-Type: application/json -d {key:value} URL
3. 定时任务
- - 工具:at、cron、schedule
- 使用场景:延迟执行、提醒
bash
echo echo reminder >> ~/reminder.txt | at now + 30 seconds
4. 代码执行
- - 工具:python、node、bash
- 最佳实践:使用虚拟环境、处理异常
5. 图像生成
- - 工具:DALL-E、Midjourney、Stable Diffusion API
6. 文档生成
- - 工具:python-pptx、python-docx、markdown、weasyprint
二、进阶技能
7. API集成
- - REST API、GraphQL、Webhook
- 认证、错误处理、重试机制
8. 数据库操作
- - 工具:sqlite3、pymysql、redis-cli
- SQL执行、NoSQL、ORM模式
9. 云服务
- - 平台:AWS、阿里云、GCP
- ECS/EC2、S3/OSS、SLB/ALB
10. 消息队列
- - RabbitMQ、Kafka、Redis Pub/Sub
- 异步任务、事件驱动架构
11. 容器化
bash
docker build -t myapp .
docker run -d myapp
kubectl apply -f deployment.yaml
12. CI/CD
- - GitHub Actions、GitLab CI、Jenkins
- 构建 → 测试 → 部署流水线
三、安全技能
13. 身份认证
- - OAuth2、JWT、API密钥管理
- 通过环境变量存储密钥
14. 加密
- - 工具:openssl、gpg、python-cryptography
15. 安全扫描
- - 工具:OWASP ZAP、Bandit、SonarQube
- 代码审计、漏洞扫描
四、效率技能
16. 并行处理
- - asyncio、multiprocessing、threading
17. 缓存
- - Redis、Memcached(LRU、TTL策略)
18. 日志记录
- - ELK Stack、Loki、CloudWatch Logs
19. 监控与告警
- - Prometheus、Grafana、PagerDuty
20. 备份与恢复
- - rsync、borg、duplicity
- 全量+增量备份策略
快速环境检查
bash
which python3 && python3 --version
which node && node --version
which git && git --version
which docker && docker --version
which curl && curl --version
uname -a
任务执行最佳实践
- 1. 接收 — 理解需求、确认参数、规划执行
- 执行 — 记录步骤、保留证据、处理异常
- 完成 — 输出结果、提供日志、建议后续步骤
总结
核心能力 = 基础工具 + 安全意识 + 最佳实践
定期盘点你的技能库,保持与时俱进!