maintain-skills

Maintain Agent skills for Claude Code, Codex, and Cursor in the Heptabase repository. Used for creating, editing, moving, deleting, or auditing files under the .claude/skills/ directory.

Last repository push
GitHub Stars
159
Forks
12
Issues / PRs
1

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "maintain-skills" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-770f7208e87c24397ba3b341832f697131235231c8fdfa8371e8cc399db6ff21. Verify the upstream source and version against https://github.com/heptameta/heptabase-cli-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Maintain Agent skills for Claude Code, Codex, and Cursor in the Heptabase repository. Used for creating, editing, moving, deleting, or auditing files under the .claude/skills/ directory.

0 Downloads

Introduction source: third_party · heptameta · 0.0.1 Reference

SkillPi interpretation

Tasks
Maintain Agent Skills in a Heptabase repository across Claude Code, Codex, and Cursor. Use when creating, editing, moving, removing, or auditing files under .claude/skills/.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: maintain-skills
description: Maintain Agent Skills in a Heptabase repository across Claude Code, Codex, and Cursor. Use when creating, editing, moving, removing, or auditing files under .claude/skills/.
disable-model-invocation: false
metadata:
  internal: true

Maintain Skills

Apply only the Heptabase repository conventions below. Follow the active agent's normal skill-authoring guidance for general skill structure and writing quality.

Use the canonical locations

  • Treat .claude/skills/<skill-name>/ as the canonical source for team-owned repository skills.
  • Keep .agents/skills as a symlink to ../.claude/skills so Codex and other Agent Skills clients discover the same skills.
  • Do not copy team skills into .cursor/skills/ or .codex/skills/.
  • Use convert-cursor-to-claude-skill when converting rules, migrating commands, or fixing misplaced skill directories. This skill owns skill content and metadata, not path migration.

Decide the invocation policy

For every new skill, explicitly decide whether the model may invoke it automatically.

For an existing skill, preserve its current invocation policy unless the user asks to change it or the skill's intended behavior has materially changed.

The user's stated invocation choice always wins; you can suggest or ask but not override it. Do not override it with the defaults below.

<!-- prettier-ignore --> | Intended behavior | SKILL.md | agents/openai.yaml | | --- | --- | --- | | The agent may load it when relevant | Omit disable-model-invocation, or set it to false | Omit policy.allow_implicit_invocation, or set it to true | | Only the user may start it | Set disable-model-invocation: true | Set policy.allow_implicit_invocation: false |

Because Codex allows implicit invocation by default, a human-invocation-only skill must include both settings and the complete UI metadata described below. An implicitly invocable skill may omit agents/openai.yaml unless it needs Codex UI metadata or dependencies.

When the user has not chosen:

  • Prefer model invocation for repository conventions, reference knowledge, and guidance that should apply whenever relevant.
  • Consider explicit-only invocation for named workflows whose timing the user is expected to control.
  • Do not infer explicit-only invocation only because a workflow uses tools, requires approval, or can cause side effects. Authorization is still checked when the action occurs.
  • If the correct invocation behavior is not easy to judge from the skill's purpose, ask the user before finalizing the skill.

Add Codex metadata by invocation mode

For a skill that the model may invoke automatically, agents/openai.yaml is optional. Add or update it only when it serves a Codex-specific purpose:

  • Improve a user-facing skill's name, description, default prompt, icon, or branding in Codex.
  • Declare tool dependencies for Codex.
  • Follow the user's request for Codex metadata.

Do not add the file only because a skill is new or being edited. Keep portable discovery in the SKILL.md name and description.

For a human-invocation-only skill, agents/openai.yaml and these fields are required:

  • interface.display_name
  • interface.short_description
  • interface.default_prompt
  • policy.allow_implicit_invocation: false

The skill selector is the primary entry point for a human-invocation-only skill, so its name, description, and starter prompt must be clear there.

When adding or editing the file:

  • Quote string values.
  • For implicitly invocable skills, keep interface fields optional.
  • When present or required, interface.short_description must contain 25 to 64 characters, and interface.default_prompt must mention $skill-name.
  • Include policy.allow_implicit_invocation when needed to keep Codex behavior aligned with disable-model-invocation.
  • Preserve unrelated interface, policy, and dependency fields.

Run the repository checker after creating or changing a skill:

node .claude/skills/maintain-skills/scripts/check-skills.mjs --changed

Prevent conflicting skills

Before finalizing a new or changed skill:

  1. Run check-skills.mjs --changed to detect mechanical conflicts.
  2. Search .claude/skills/ and relevant AGENTS.md, CLAUDE.md, .claude/rules/, and .cursor/rules/ files for overlapping triggers or instructions. Read possible overlaps; the checker cannot judge whether prose is consistent.
  3. Resolve each conflict introduced or affected by the change:
    • Frontmatter names must be unique within one repository. Separate repositories may reuse names.
    • For overlapping triggers, narrow the descriptions and state which skill owns each case.
    • For conflicting instructions, keep one source of truth or narrow the scopes so both can coexist.
    • Keep copies of the same team skill aligned across repositories.
  4. If the correct behavior is unclear, ask the user. Report unrelated pre-existing conflicts without expanding the task to fix them.

Validate the result

Run the checker from the repository root:

node .claude/skills/maintain-skills/scripts/check-skills.mjs --changed

For a full repository audit:

node .claude/skills/maintain-skills/scripts/check-skills.mjs

Standard checks require complete Codex UI metadata only for human-invocation-only skills.

For an optional audit that requires complete Codex UI metadata for every existing skill:

node .claude/skills/maintain-skills/scripts/check-skills.mjs --strict-ui

When a task changes skills in more than one repository, run the checker separately in each affected repository.

Review the final diff and confirm that:

  • Only canonical .claude/skills/ files changed.
  • Invocation settings agree across SKILL.md and agents/openai.yaml.
  • No affected skills give conflicting instructions.
  • No unrelated skill or agent configuration was changed.

Version history

  1. v1.10.0 GitHub ↗
    Original release notes

    ## What's Changed * feat: support CLI 0.10.0 and later (release v1.10.0) by @kyle979 in https://github.com/heptameta/heptabase-cli-skills/pull/35 **Full Changelog**: https://github.com/heptameta/heptabase-cli-skills/compare/v1.9.0...v1.10.0

  2. v1.9.0 GitHub ↗
    Original release notes

    ## What's Changed * feat: support CLI 0.9.x (release v1.9.0) by @kyle979 in https://github.com/heptameta/heptabase-cli-skills/pull/33 ## New Contributors * @kyle979 made their first contribution in https://github.com/heptameta/heptabase-cli-skills/pull/33 **Full Changelog**: https://github.com/heptameta/heptabase-cli-skills/compare/v1.8.0...v1.9.0

  3. v1.8.0 GitHub ↗
    Original release notes

    ## What's Changed * feat: support CLI 0.8.x (release v1.8.0) by @yeefun in https://github.com/heptameta/heptabase-cli-skills/pull/30 ## New Contributors * @yeefun made their first contribution in https://github.com/heptameta/heptabase-cli-skills/pull/30 **Full Changelog**: https://github.com/heptameta/heptabase-cli-skills/compare/v1.7.0...v1.8.0

  4. v1.7.0 GitHub ↗
    Original release notes

    ## What's Changed * chore: make release skill explicit-only in Codex by @jack-hepta in https://github.com/heptameta/heptabase-cli-skills/pull/24 * chore: add skill maintenance checks by @jack-hepta in https://github.com/heptameta/heptabase-cli-skills/pull/25 * chore: refine skill metadata requirements by @jack-hepta in https://github.com/heptameta/heptabase-cli-skills/pull/26 * fix: hide maintainer skills from installation discovery by @jack-hepta in https://github.com/heptameta/heptabase-cli-skills/pull/27 * feat: add CLI image import guidance (bumping to v1.7.0) by @jack-hepta in https://github.com/heptameta/heptabase-cli-skills/pull/29 **Full Changelog**: https://github.com/heptameta/heptabase-cli-skills/compare/v1.6.0...v1.7.0

  5. v1.6.0 GitHub ↗
    Original release notes

    ## What's Changed * feat: add CLI whiteboard and chat guidance by @jack-hepta in https://github.com/heptameta/heptabase-cli-skills/pull/23 **Full Changelog**: https://github.com/heptameta/heptabase-cli-skills/compare/v1.5.0...v1.6.0

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供在 Heptabase 仓库中维护 Agent Skills 的完整工作流
  • 解决多 Agent 环境中技能一致性问题
  • 具有明确的实际使用价值
Trigger Precision85/100

Highlights

  • 触发描述明确具体
  • 使用场景边界清晰
  • 覆盖创建、编辑、移动、删除、审计等操作
Structure and Standards75/100

Areas to improve

  • 缺少端到端示例 Reported severity: Minor

    文档结构良好但缺少具体的端到端使用示例

    Recommendation: 建议添加一个完整的使用示例,展示从创建到验证的完整流程

Highlights

  • Phase/步骤清晰完整
  • frontmatter 完整规范
  • 有明确的出口条件说明
Execution Reliability85/100

Highlights

  • 工具来源明确(check-skills.mjs)
  • 参数说明清晰完整
  • 覆盖主要异常情况和验证流程
Evidence Verifiability (mean of the first four)80/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.