Agent SkillsQuixiAI/Hexis › self-inspection

self-inspection

GitHub

用于审查 Hexis 源码及 PostgreSQL 实时数据库模式,通过 inspect_source 和 inspect_database_schema 工具定位代码与结构,对比基线与运行态差异,辅助缺陷诊断与实现验证。

skills/installed/self-inspection/SKILL.md QuixiAI/Hexis

Trigger Scenarios

询问系统实现细节 检查当前代码库状态 查看数据库实际结构 排查功能逻辑错误

Install

npx skills add QuixiAI/Hexis --skill self-inspection -g -y
More Options

Non-standard path

npx skills add https://github.com/QuixiAI/Hexis/tree/main/skills/installed/self-inspection -g -y

Use without installing

npx skills use QuixiAI/Hexis@self-inspection

指定 Agent (Claude Code)

npx skills add QuixiAI/Hexis --skill self-inspection -a claude-code -g -y

安装 repo 全部 skill

npx skills add QuixiAI/Hexis --all -g -y

预览 repo 内 skill

npx skills add QuixiAI/Hexis --list

SKILL.md

Frontmatter
{
    "name": "self-inspection",
    "aliases": [
        "how",
        "why",
        "yourself",
        "your",
        "internals",
        "schema",
        "config",
        "source",
        "debug"
    ],
    "category": "system",
    "contexts": [
        "heartbeat",
        "chat"
    ],
    "requires": {
        "tools": [
            "inspect_source",
            "inspect_database_schema"
        ]
    },
    "bound_tools": [
        "inspect_source",
        "inspect_database_schema",
        "inspect_config",
        "review_recent_actions",
        "review_recent_changes",
        "self_repair"
    ],
    "description": "Browse and search Hexis source code and inspect the live PostgreSQL database schema"
}

Self Inspection

Use this skill to answer questions about how Hexis is implemented, what the current checkout actually does, and what schema is running in PostgreSQL.

Evidence Order

  1. Inspect the source or live schema before making implementation claims.
  2. Use inspect_source to locate and read the relevant code. Start with search, then read only the necessary line ranges.
  3. Use inspect_database_schema for current database truth. Prefer describe_relation or get_function after a narrow search.
  4. Use the core-memory skill separately when prior decisions or experiences are relevant. Memory is historical evidence; source and live schema are implementation evidence.
  5. Reconcile differences explicitly. Baseline SQL files describe a fresh database, migrations evolve existing databases, and the live schema is the authority for what is running now.

Source Method

  • inspect_source(action="list", path="...", file_pattern="...") discovers repository files.
  • inspect_source(action="search", query="...", path="...", file_pattern="...") finds definitions and call sites.
  • inspect_source(action="read", path="...", offset=..., limit=...) reads a bounded, line-numbered range.
  • Follow references across modules when needed. Do not infer behavior from a filename or one isolated function.

Schema Method

  • Start with overview only when the relevant object is unknown.
  • Use search for a table, column, view, or stored-function name fragment.
  • Use describe_relation for columns, defaults, constraints, indexes, and view definitions.
  • Use get_function to inspect the actual stored definition and overloads.
  • The schema tool is metadata-only and does not accept arbitrary SQL.

Reporting

  • Distinguish facts observed in source, facts observed in the live schema, and inferences.
  • Cite repository-relative paths and function/relation names.
  • State when the running schema differs from baseline files or migrations.
  • Use review_recent_changes to see what changed about your own substrate — migrations, code rebuilds, prompt edits, and operator config decisions.
  • When tool calls, heartbeat steps, integrations, or memory retrieval have been failing, use self_repair to list unresolved defect reports, diagnose one with the source/schema evidence gathered here, and mark it resolved only after verification. It records and reasons about defects; it never silently edits source code.
  • Do not claim access to model weights, provider infrastructure, hardware, or secrets unless another explicit capability supplies that evidence.
  • Do not expose credentials, .env contents, or unrelated private files.

Version History

  • 97f625f Current 2026-08-29 01:32

    修复审批门控失效导致工具无授权执行的问题;优化技能可达性,增加别名支持以改善意图匹配;调整心跳路径默认可用工具集。

  • 990da5f 2026-08-20 13:53

Same Skill Collection

plugins/installed/fathom/skills/fathom/SKILL.md
skills/installed/calendar/SKILL.md
skills/installed/code-execution/SKILL.md
skills/installed/connector-action-authorization/SKILL.md
skills/installed/core-memory/SKILL.md
skills/installed/cost-report/SKILL.md
skills/installed/council/SKILL.md
skills/installed/crm-lookup/SKILL.md
skills/installed/daily-briefing/SKILL.md
skills/installed/delegation/SKILL.md
skills/installed/email-digest/SKILL.md
skills/installed/expense-capture/SKILL.md
skills/installed/github-issues/SKILL.md
skills/installed/gmail-actions/SKILL.md
skills/installed/gmail-connector-setup/SKILL.md
skills/installed/humanizer/SKILL.md
skills/installed/image-gen/SKILL.md
skills/installed/inbox-triage/SKILL.md
skills/installed/integration-connector-setup/SKILL.md
skills/installed/knowledge-ingest/SKILL.md
skills/installed/meeting-follow-up/SKILL.md
skills/installed/meeting-prep/SKILL.md
skills/installed/memory-exchange/SKILL.md
skills/installed/operations/SKILL.md
skills/installed/outreach/SKILL.md
skills/installed/personal-notes/SKILL.md
skills/installed/self-reflection/SKILL.md
skills/installed/skill-authoring/SKILL.md
skills/installed/travel-prep/SKILL.md
skills/installed/twitter-x-actions/SKILL.md
skills/installed/twitter-x-connector-setup/SKILL.md
skills/installed/weekly-review/SKILL.md
plugins/installed/asana/skills/asana/SKILL.md
plugins/installed/hubspot/skills/hubspot/SKILL.md
plugins/installed/todoist/skills/todoist/SKILL.md
plugins/installed/youtube/skills/youtube/SKILL.md
skills/installed/research/SKILL.md
plugins/installed/twitter/skills/twitter/SKILL.md
plugins/installed/video_gen/skills/video_gen/SKILL.md

Metadata

Files
0
Version
97f625f
Hash
e0b19a78
Indexed
2026-08-20 13:53

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-29 23:18
浙ICP备14020137号-1 $방문자$