Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

pharaohpharaoh 测试

Agent Skill

pharaoh 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,822

周安装

205

GitHub Stars

1

下载量

1,689
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pharaoh(pharaoh 测试)
来源仓库:https://github.com/0xuxdesign/pharaoh
安装命令:
openclaw skills install pharaoh
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install pharaoh

简介

构建包含 23 项开发技能的代码库知识图谱。

  • 通过 MCP 协议查询架构依赖、死代码与测试覆盖率。
  • 提供爆炸半径评估与工作流程优化建议。pharaoh 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装命令:openclaw skills install pharaoh,适用于 OpenClaw。
  • 依赖 MCP 服务正常运行方可获取完整数据视图。

SKILL.md

name
pharaoh
description
Codebase knowledge graph with 23 development workflow skills. Query architecture, dependencies, blast radius, dead code, and test coverage via MCP. Requires GitHub App installation (read-only repo access) and OAuth authentication. Connects to external MCP server at mcp.pharaoh.so.
version
0.3.5
homepage
https://pharaoh.so
metadata
{"emoji": "☥", "openclaw": {"requires": {"bins": ["npx", "node"], "env": [], "config": "~/.pharaoh/credentials.json"}, "permissions": {"network": ["mcp.pharaoh.so", "github.com"], "filesystem": ["~/.pharaoh/", "~/.openclaw/"]}, "always": false}, "tags": ["code-intelligence", "architecture", "mcp", "knowledge-graph", "dependencies", "blast-radius", "dead-code", "code-review", "refactoring", "test-coverage", "codebase-understanding", "developer-tools", "ai-coding"]}

Pharaoh — Codebase Knowledge Graph + Developer Skill Library

Pharaoh parses your source files server-side to extract structural metadata (names, signatures, imports, relationships) and stores that metadata — not source code bodies — in a knowledge graph. AI agents then query the graph instead of reading files one at a time.

What the Installer Does

Running npx @pharaoh-so/mcp --install-skills performs these actions:

  1. Downloads the @pharaoh-so/mcp npm package (source, npm)
  2. Copies 23 skill directories (SKILL.md markdown files) into ~/.openclaw/skills/warning: overwrites existing pharaoh skill files on reinstall (uses cpSync with force: true; does not touch non-pharaoh skills)
  3. Adds an MCP server entry "pharaoh" to ~/.openclaw/openclaw.json under mcpServers (skips if already present, refuses to write if JSON is corrupted)
  4. If OpenClaw is not detected (~/.openclaw/ doesn't exist), prints manual installation instructions and exits — does not create directories or modify config

Authentication happens separately when the MCP server first runs (not during --install-skills):

  • Device flow (RFC 8628) — displays a code, you authorize on any device with a browser
  • Credentials stored at ~/.pharaoh/credentials.json (file permissions 0600, owner-only)

No background processes are installed. No cron jobs. No system services.

Architecture: The @pharaoh-so/mcp package runs a local stdio proxy process — it starts when your AI client launches it and stops when the session ends. This proxy relays MCP messages to the remote Pharaoh server at mcp.pharaoh.so, where parsing and graph queries execute. Your repository metadata is sent to and stored on Pharaoh's servers (see Data & Privacy below). The proxy itself does not parse code or store data locally.

Authentication & Permissions

OAuth flow: GitHub device authorization grant (RFC 8628). You approve access in your browser — no secrets are embedded in the package.

GitHub App scopes (when installed on your org):

  • contents: read — read-only access to parse repository files via tree-sitter
  • metadata: read — repo names, languages, default branch
  • Webhooks on push events — triggers automatic graph refresh when code changes

No write access. The GitHub App cannot modify code, create branches, open PRs, or change settings.

Credential storage: ~/.pharaoh/credentials.json — OAuth access token + refresh token. Tokens expire after 7 days with automatic refresh. Clear with npx @pharaoh-so/mcp --logout.

Data & Privacy

How parsing works: Pharaoh clones your repos server-side using GitHub App installation tokens, then runs its open-source parser (tree-sitter based, MIT licensed) to extract structural metadata. Source files are read during parsing to build the AST. After parsing, cloned files are deleted from disk. The extracted metadata is:

  • Function/class names, signatures, and export visibility
  • File paths and module membership
  • Import/export relationships and call chains
  • Complexity scores (cyclomatic complexity)
  • JSDoc/docstring text (encrypted at rest with per-tenant AES-256-GCM keys)

What is NOT stored: Source code bodies (function implementations, template literals, string contents, etc.). The graph contains names, paths, relationships, and scores. Source files are cloned temporarily for parsing, then deleted — they are not persisted or logged.

Where data lives: Neo4j knowledge graph on Neo4j Aura (cloud, GCP). Pharaoh is a remote service — your metadata is stored on Pharaoh's infrastructure, not locally. Each tenant's data is isolated via application-level repo-anchoring (every query scoped to your repos) and ownership checks. For self-hosted options, see documentation.

Data retention: Graph data persists while your account is active. Deleting a repo from Pharaoh purges all its nodes and relationships. Account deletion removes all tenant data.

Network endpoints contacted:

  • mcp.pharaoh.so — MCP server (tool calls and responses)
  • github.com — OAuth authorization and API calls (repo metadata, installation tokens)

When to Use

After installation, the core pharaoh skill loads automatically in sessions where Pharaoh MCP tools are available. It teaches your agent to query architecture before reading files, check blast radius before modifying code, and search functions before creating duplicates. The 22 other skills are invoked on-demand by name.

What You Get

22 MCP Tools — codebase map, module context, function search, blast radius, dependency queries, dead code detection, test coverage, regression risk, and more.

23 Development Skills:

CategorySkills
Corepharaoh (architectural habits, loads when MCP tools are present)
Planningpharaoh:plan, pharaoh:brainstorm, pharaoh:execute, pharaoh:sessions, pharaoh:parallel
Implementationpharaoh:tdd, pharaoh:debug, pharaoh:refactor, pharaoh:investigate, pharaoh:explore
Verificationpharaoh:verify, pharaoh:wiring, pharaoh:review, pharaoh:review-receive, pharaoh:pr, pharaoh:review-codex
Maintenancepharaoh:health, pharaoh:debt, pharaoh:audit-tests, pharaoh:onboard
Gitpharaoh:worktree, pharaoh:finish

Setup Steps

  1. Install the GitHub App on your org at github.com/apps/pharaoh-so — grants read-only access to selected repos
  2. Pharaoh auto-maps selected repos into a knowledge graph (typically < 5 minutes)
  3. Run npx @pharaoh-so/mcp --install-skills — installs skills + connects MCP server
  4. Authorize via the device code shown in terminal (opens GitHub OAuth in browser)
  5. Your agent now queries architecture instead of reading files one at a time

Uninstall

# Remove skills (installed by --install-skills)
rm -rf ~/.openclaw/skills/pharaoh*
# Remove MCP server entry from ~/.openclaw/openclaw.json (delete the "pharaoh" key under mcpServers)

# If using Claude Code directly (without OpenClaw):
claude mcp remove pharaoh

# Remove stored credentials
npx @pharaoh-so/mcp --logout
# or: rm ~/.pharaoh/credentials.json

Links

  • Documentation: https://pharaoh.so/docs
  • GitHub (parser, open-source): https://github.com/Pharaoh-so/pharaoh-parser
  • GitHub (MCP proxy): https://github.com/Pharaoh-so/pharaoh-mcp
  • npm: https://www.npmjs.com/package/@pharaoh-so/mcp
  • MCP Server: https://mcp.pharaoh.so
  • Security contact: security@pharaoh.so

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

98.61%
按下载量换算1,666

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills