创作者 · trailofbits
最近更新 · 2026年8月24日
guidelines-advisor
Smart contract development advisor based on Trail of Bits' best practices. Analyzes codebase to generate documentation/specifications, review architecture, check upgradeability patterns, assess implementation quality, identify pitfalls, review dependencies, and evaluate testing.
仅限沙盒
安装目标
Codex 安装提示词
Install the "guidelines-advisor" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/building-secure-contracts/skills/guidelines-advisor. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Smart contract development advisor based on Trail of Bits' best practices. Analyzes codebase to generate documentation/specifications, review architecture, check upgradeability patterns, assess implementation quality, identify pitfalls, review dependencies, and evaluate testing. Provides actionable recommendations. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"trailofbits-guidelines-advisor","task":"Install guidelines-advisor","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.供给资产档案
研究与知识工作
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
场景
研究 Agent
I need my agent to research a topic, compare sources, and produce a concise report.
适配 Agent
Claude Code + CLI + Codex
适用于 Codex、Claude Code、Cursor、CLI 或自定义 Agent。
安装
就绪
npx skills add trailofbits/skills --skill guidelines-advisor
维护状态
新鲜
今天有推送
风险
需审查
The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed.
GitHub 质量
6.8K
85/100 质量 · 76/100 信任
覆盖标签
审查说明
The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed. · Minor concern: the skill references external resources (ASSESSMENT_AREAS.md, EXAMPLE_REPORT.md) that are included, but their completeness is not fully verified in this review.
Agent 采用评分卡
一眼查看信任、审计与安装准备度
这些分数综合公开仓库元数据、OpenAgentSkill 审查信号、维护新鲜度与安装准备度。它用于候选筛选,不替代人工审查。
质量
优秀高置信候选,具有较强的采用度与健康维护信号。
信任
仅限沙盒有用但信任信号不足或混杂的候选项。在结果闭环证明任务匹配前,请保持在隔离工作区内使用。
审计
需审查对安装准备度、安全元数据、维护情况与采用风险的机器可读审查。
OpenAgentSkill 信任评分 v5
安装前需人工审查
仅在沙盒中运行,并在用于真实工作前比较接近的替代方案。
Stars
6.8K 个 GitHub Stars
仓库活跃度
6.8K 个 Star,585 个 Fork
维护状态
今天有推送
许可证
CC-BY-SA-4.0
安装
npx skills add trailofbits/skills --skill guidelines-advisor
安装安全性
标准软件包或运行时安装路径
权限范围
filesystem or document access, database access
Agent 结果
暂未有 Agent 结果数据
文档
README/SKILL.md 上下文充分
风险摘要
生产前审查
- The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed.
- Quality score needs review
安装准备度
安装路径可用
- 安装路径可用
- 仓库证据可用
- 已声明许可证
- 暂无 Agent 验证结果证据
Agent 可读元数据
这个 Skill 的机器可读决策数据。
使用此区块或内嵌 JSON 判断 Agent 是否应安装该 Skill、选择替代方案,或先请求人工审查。
View technical data+
Agent 可读元数据
这个 Skill 的机器可读决策数据。
使用此区块或内嵌 JSON 判断 Agent 是否应安装该 Skill、选择替代方案,或先请求人工审查。
适用任务
- 研究 Agent 工作流
- Claude Code 团队
- 重视 GitHub 采用信号的团队
- 检索来源
适用 Agent
安装决策
- 命令
- npx skills add trailofbits/skills --skill guidelines-advisor
- 策略
- 审查
- 人工审查
- 是
信任与风险
- 信任
- 68/100
- 审计
- 84/100
- 风险级别
- 需审查
结果闭环
- 端点
- /api/agent/outcome
- 事件 ID
- resolve
- 结果
- 5
不适用场景
- 需要厂商支持 SLA 的团队
- production agents without a repository review
- The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed.
- 暂未有 OpenAgentSkill 使用反馈数据
- Minor concern: the skill references external resources (ASSESSMENT_AREAS.md, EXAMPLE_REPORT.md) that are included, but their completeness is not fully verified in this review.
替代 Skill
Last30days Skill
53.5K Stars
npx skills add mvanhorn/last30days-skill -g
替代 Skill
Academic Research Skills
38.4K Stars
npx skills add Imbad0202/academic-research-skills
替代 Skill
GPT Researcher
28.0K Stars
npx skills add assafelovic/gpt-researcher
替代 Skill
DeepResearch
19.8K Stars
npx skills add Alibaba-NLP/DeepResearch
Agent 安全 v2
64/100 · 安装前审查
可用候选,但 Agent 在安装前应展示权限与审计说明。
在真实工作区安装前需要人工批准。
中
网络访问
Skill 可能访问远程页面、API、仓库或外部服务。
中
文件系统访问
Skill 可能读取或写入项目文件、文档、生成产物或本地工作区状态。
中
数据库访问
Skill 可能检查 Schema、查询数据库或处理持久化存储。
- The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed.
Agent 解析计划
让 Agent 在安装前验证匹配度。
Resolve API 返回首选 Skill、替代方案、安全策略、审计说明、安装目标和可直接执行的提示词,无需抓取此页面。
打开 JSON
/api/agent/resolve?task=Use%20guidelines-advisor%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve 文本
/api/agent/resolve?task=Use%20guidelines-advisor%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
安装交接
/api/skills/trailofbits-guidelines-advisor/install
Agent 应检查
- 从 Resolve API 检查任务匹配与替代方案。
- 检查审计评分、信任评分和安全策略警告。
- 检查 Codex、Claude Code、Cursor 或 CLI 的安装目标兼容性。
复制提示词
Task: Use guidelines-advisor in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20guidelines-advisor%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/trailofbits-guidelines-advisor/install
Install command: npx skills add trailofbits/skills --skill guidelines-advisor
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent 交接
把安装路径交给 Agent,而不是再给一个目录页。
通过公开安装端点获取命令、安全清单、目标提示词和该 Skill 的规范链接。
安装交接
/api/skills/trailofbits-guidelines-advisor/install
LLM 文本格式
/api/skills/trailofbits-guidelines-advisor/install?format=text
寻找替代方案
/api/skills/search?q=guidelines-advisor&limit=3
Agent 提示词
Use guidelines-advisor for this task. Review https://www.openagentskill.com/api/skills/trailofbits-guidelines-advisor/install, then install with: npx skills add trailofbits/skills --skill guidelines-advisorRegistry 元数据
用于自动选择 Skill 的 Agent 可读档案。
本页通过 Registry API 提供相同的决策、信任、审计、场景和安装信号,让 Agent 无需抓取界面即可排序。
Agent 决策面板
适合 研究 Agent 的首选
将其作为优先候选,再在你的 Agent 环境中验证 README 与安装路径。
栈中角色
首选
主要匹配
研究 Agent
信任标签
可用于生产
安装路径
命令已就绪
适用场景
- 研究 Agent 工作流
- Claude Code 团队
- 重视 GitHub 采用信号的团队
证据
- 6,823 个 GitHub Stars
- 仓库近期活跃
- 已提供安装命令或 GitHub 仓库
- 85/100 质量档案
先审查
- The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed.
- 暂未有 OpenAgentSkill 使用反馈数据
实施路径
- 1在沙盒 Agent 中安装它,并端到端完成一次研究 Agent任务。
- 2Compare output quality, latency, and failure behavior against at least one alternative.
- 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.
信任档案
仅限沙盒
有用但信任信号不足或混杂的候选项。在结果闭环证明任务匹配前,请保持在隔离工作区内使用。
GitHub 采用度
通过6.8K 个 GitHub Stars
Star/Fork 活跃度
通过6.8K 个 Star,585 个 Fork; 当前元数据中没有议题活跃度信息
近期维护
通过今天有推送
许可证清晰度
通过CC-BY-SA-4.0
积极信号
- AI 审查已通过
- 安装路径可用
- 仓库证据可用
- 近期维护的仓库
- Large GitHub adoption signal
- 安装命令未发现明显高风险模式
- 结果闭环已就绪,但需要首次真实 Agent 运行
安装前审查
- The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed.
- Quality score needs review
- 暂未有真实 Agent 结果报告
- 无人值守安装前需要人工审查
建议操作
仅在沙盒中运行,并在用于真实工作前比较接近的替代方案。
质量档案
优秀 适用于 Agent 工作流的候选
高置信候选,具有较强的采用度与健康维护信号。
工作流匹配
在这些场景使用此 Skill
Investigate faster
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Build and ship code
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Search private knowledge
RAG and knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
工作流匹配
加入完整工作流
Find, compare, and synthesize
Research report agent
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Inspect, patch, and verify code
Coding review agent
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Ingest, retrieve, and cite
RAG knowledge base
A workflow for document-heavy agents that ingest files, create searchable knowledge, retrieve relevant context, and answer with grounded sources.
替代方案短名单
安装前对比
可能适合该任务的相近 Skill。
Last30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
GPT Researcher
Run autonomous deep research over web and local sources
DeepResearch
Tongyi Deep Research, the Leading Open-source Deep Research Agent
概览
--- name: guidelines-advisor description: Smart contract development advisor based on Trail of Bits' best practices. Analyzes codebase to generate documentation/specifications, review architecture, check upgradeability patterns, assess implementation quality, identify pitfalls, review dependencies, and evaluate testing. Provides actionable recommendations. ---
# Guidelines Advisor
## Purpose
Systematically analyzes the codebase and provides guidance based on Trail of Bits' development guidelines:
1. **Generate documentation and specifications** (plain English descriptions, architectural diagrams, code documentation) 2. **Optimize on-chain/off-chain architecture** (only if applicable) 3. **Review upgradeability patterns** (if your project has upgrades) 4. **Check delegatecall/proxy implementations** (if present) 5. **Assess implementation quality** (functions, inheritance, events) 6. **Identify common pitfalls** 7. **Review dependencies** 8. **Evaluate test suite and suggest improvements**
**Framework**: Building Secure Contracts - Development Guidelines
---
## How This Works
### Phase 1: Discovery & Context Explores the codebase to understand: - Project structure and platform - Contract/module files and their purposes - Existing documentation - Architecture patterns (proxies, upgrades, etc.) - Testing setup - Dependencies
### Phase 2: Documentation Generation Helps create: - Plain English system description - Architectural diagrams (using Slither printers for Solidity) - Code documentation recommendations (NatSpec for Solidity)
### Phase 3: Architecture Analysis Analyzes: - On-chain vs off-chain component distribution (if applicable) - Upgradeability approach (if applicable) - Delegatecall proxy patterns (if present)
### Phase 4: Implementation Review Assesses: - Function composition and clarity - Inheritance structure - Event logging practices - Common pitfalls presence - Dependencies quality - Testing coverage and techniques
### Phase 5: Recommendations Provides: - Prioritized improvement suggestions - Best practice guidance - Actionable next steps
---
## Assessment Areas
I analyze 11 comprehensive areas covering all aspects of smart contract development. For detailed criteria, best practices, and specific checks, see [ASSESSMENT_AREAS.md](resources/ASSESSMENT_AREAS.md).
### Quick Reference:
1. **Documentation & Specifications** - Plain English system descriptions - Architectural diagrams - NatSpec completeness (Solidity) - Documentation gaps identification
2. **On-Chain vs Off-Chain Computation** - Complexity analysis - Gas optimization opportunities - Verification vs computation patterns
3. **Upgradeability** - Migration vs upgradeability trade-offs - Data separation patterns - Upgrade procedure documentation
4. **Delegatecall Proxy Pattern** - Storage layout consistency - Initialization patterns - Function shadowing risks - Slither upgradeability checks
5. **Function Composition** - Function size and clarity - Logical grouping - Modularity assessment
6. **Inheritance** - Hierarchy depth/width - Diamond problem risks - Inheritance visualization
7. **Events** - Critical operation coverage - Event naming consistency - Indexed parameters
8. **Common Pitfalls** - Reentrancy patterns - Integer overflow/underflow - Access control issues - Platform-specific vulnerabilities
9. **Dependencies** - Library quality assessment - Version management - Dependency manager usage - Copied code detection
10. **Testing & Verification** - Coverage analysis - Fuzzing techniques - Formal verification - CI/CD integration
11. **Platform-Specific Guidance** - Solidity version recommendations - Compiler warning checks - Inline assembly warnings - Platform-specific tools
For complete details on each area including what I'll check, analyze, and recommend, see [ASSESSMENT_AREAS.md](resources/ASSESSMENT_AREAS.md).
---
## Example Output
When the analysis is complete, you'll receive comprehensive guidance covering:
- System documentation with plain English descriptions - Architectural diagrams and documentation gaps - Architecture analysis (on-chain/off-chain, upgradeability, proxies) - Implementation review (functions, inheritance, events, pitfalls) - Dependencies and testing evaluation - Prioritized recommendations (CRITICAL, HIGH, MEDIUM, LOW) - Overall assessment and path to production
For a complete example analysis report, see [EXAMPLE_REPORT.md](resources/EXAMPLE_REPORT.md).
---
## Deliverables
I provide four comprehensive deliverable categories:
### 1. System Documentation - Plain English descriptions - Architectural diagrams - Documentation gaps analysis
### 2. Architecture Analysis - On-chain/off-chain assessment - Upgradeability review - Proxy pattern security review
### 3. Implementation Review - Function composition analysis - Inheritance assessment - Events coverage - Pitfall identification - Dependencies evaluation - Testing analysis
### 4. Prioritized Recommendations - CRITICAL (address immediately) - HIGH (address before deployment) - MEDIUM (address for production quality) - LOW (nice to have)
For detailed templates and examples of each deliverable, see [DELIVERABLES.md](resources/DELIVERABLES.md).
---
## Assessment Process
When invoked, I will:
1. **Explore the codebase** - Identify all contract/module files - Find existing documentation - Locate test files - Check for proxies/upgrades - Identify dependencies
2. **Generate documentation** - Create plain English system description - Generate architectural diagrams (if tools available) - Identify documentation gaps
3. **Analyze architecture** - Assess on-chain/off-chain distribution (if applicable) - Review upgradeability approach (if applicable) - Audit proxy patterns (if present)
4. **Review implementation** - Analyze functions, inheritance, events - Check for common pitfalls - Assess dependencies - Evaluate testing
5. **Provide recommendations** - Present findings with file references - Ask clarifying questions about design decisions - Suggest prioritized improvements - Offer actionable next steps
---
## Rationalizations (Do Not Skip)
| Rationalization | Why It's Wrong | Required Action | |-----------------|----------------|-----------------| | "System is simple, description covers everything" | Plain English descriptions miss security-critical details | Complete all 5 phases: documentation, architecture, implementation, dependencies, recommendations | | "No upgrades detected, skip upgradeability section" | Upgradeability can be implicit (ownable patterns, delegatecall) | Search for proxy patterns, delegatecall, storage collisions before declaring N/A | | "Not applicable" without verification | Premature scope reduction misses vulnerabilities | Verify with explicit codebase search before skipping any guideline section | | "Architecture is straightforward, no analysis needed" | Obvious architectures have subtle trust boundaries | Analyze on-chain/off-chain distribution, access control flow, external dependencies | | "Common pitfalls don't apply to this codebase" | Every codebase has common pitfalls | Systematically check all guideline pitfalls with grep/code search | | "Tests exist, testing guideline is satisfied" | Test existence ≠ test quality | Check coverage, property-based tests, integration tests, failure cases | | "I can provide generic best practices" | Generic advice isn't actionable | Provide project-specific findings with file:line references | | "User knows what to improve from findings" | Findings without prioritization = no action plan | Generate prioritized improvement roadmap with specific next steps |
---
## Notes
- I'll only analyze relevant sections (won't hallucinate about upgrades if not present) - I'll adapt to your platform (Solidity, Rust, Cairo, etc.) - I'll use available tools (Slither, etc.) but work without them if unavailable - I'll provide file references and line numbers for all findings - I'll ask questions about design decisions I can't infer from code
---
## Ready to Begin
**What I'll need**: - Access to your codebase - Context about your project goals - Any existing documentation or specifications - Information about deployment plans
Let's analyze your codebase and improve it using Trail of Bits' best practices!
技术详情
- 版本
- 1.0.0
- 许可证
- CC-BY-SA-4.0
- 最近更新
- 2026年8月24日
- 发布时间
- 2026年8月24日
决策摘要
首选
6,823 个 GitHub Stars
Agent 验证证据
Agent 验证证据
来自解析、审查、安装和一次小范围运行后的结果报告。
- 成功率
- —
- 近期失败
- —
- 结果
- 0
- 输出质量
- —
- 失败
- 0
- 不相关
- 0
- 安装次数
- 0
- 风险拦截
- 0
- 需要配置
- 0
- 生产环境
- 0
暂时没有 Agent 结果数据。首次 Agent 执行可以通过 /api/agent/outcome 报告成功、需要设置、风险拦截、失败或不相关。
增长闭环
分享工具包
为 guidelines-advisor 准备的场景化草稿,可手动发布到 X。
guidelines-advisor: Smart contract development advisor based on Trail of Bits' best practices. Analyzes codebase... 6.8K stars https://www.openagentskill.com/skills/trailofbits-guidelines-advisor?ref=x
可选:带安装命令的回复
Listing + install path for guidelines-advisor: https://www.openagentskill.com/skills/trailofbits-guidelines-advisor?ref=x Install: npx skills add trailofbits/skills --skill guidelines-advisor
收录来源
Registry 收录
此列表来自公开来源,维护者认领获批前不会标记为官方。
- 创作者
- trailofbits
- 收录方
- OpenAgentSkill 社区索引
归属链接指向公开仓库或创作者主页。创作者可认领列表以更新所有权信号。
认领此 Skill所有者认领
认领此 Skill 页面
这条 Registry 收录 列表归属于 trailofbits,但尚未标记为官方。认领后可增加已验证所有者信号,使后续发布、安装和审计更新更值得信赖。
创作者外链工具包
将证据徽章加入你的 README
在开发者评估仓库的位置展示规范页面、当前信任与审计信号,以及真实的 Agent 验证证据。
[](https://www.openagentskill.com/skills/trailofbits-guidelines-advisor)
[](https://www.openagentskill.com/skills/trailofbits-guidelines-advisor)
[](https://www.openagentskill.com/skills/trailofbits-guidelines-advisor/audit)
[](https://www.openagentskill.com/skills/trailofbits-guidelines-advisor)作者
trailofbits
@trailofbits
平台适配
健康信号
- GitHub Stars
- 6.8K
- 质量评分
- 50/100
- 最近 GitHub 推送
- 2026年8月24日
- 框架提示
- 未知
- OpenAgentSkill 浏览量
- 0
- 复制安装命令
- 0
- 跳转点击
- 0
社区信号
告诉我们这个 Skill 是否对你的 Agent 工作流有帮助。汇总反馈会持续改善排序。
信任与安全
仅限沙盒
- GitHub 采用度6.8K 个 GitHub Stars通过
- Star/Fork 活跃度6.8K 个 Star,585 个 Fork; 当前元数据中没有议题活跃度信息通过
- 近期维护今天有推送通过
- 许可证清晰度CC-BY-SA-4.0通过
- README/SKILL.md 完整度元数据包含足够的用法与工作流上下文通过
- 依赖与运行时风险database surface通过
相关 Skill
Last30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
53.5K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K StarsGPT Researcher
Run autonomous deep research over web and local sources
28.0K StarsDeepResearch
Tongyi Deep Research, the Leading Open-source Deep Research Agent
19.8K Stars