Skill Metadata Maintainer
Maintain metadata in exactly one target skill.
This skill exists to initialize or update the metadata object inside one SKILL.md file while following repository rules from CONTRIBUTING.md.
Non-Negotiable Safety Rules
- You MUST operate on exactly one target skill per request.
- You MUST require the user to specify a unique target, such as the skill name, the skill directory path, or the
SKILL.md path.
- You MUST NOT infer a bulk target such as "all skills", "the whole repo", or "every missing file" from ambiguous wording.
- If the request does not identify a single skill unambiguously, you MUST stop and ask the user to specify the exact target skill.
- Before modifying anything, you MUST read the existing
SKILL.md and inspect the current metadata values if present.
- If any target metadata field already has a value and your change would add, replace, or normalize that value, you MUST explicitly show the user what exists now and ask for confirmation before writing.
- You MUST NOT silently overwrite existing metadata values.
Inputs
The request MUST identify one target skill by at least one of:
- skill name, for example
skill-metadata-maintainer
- skill directory path, for example
skills/skill-metadata-maintainer
SKILL.md file path
Optional user intent may also specify:
- initialize missing metadata only
- update selected metadata fields
- normalize metadata to repository convention
Source Of Truth
When generating or validating metadata, follow CONTRIBUTING.md.
Apply these rules:
metadata.name: human-readable display name for the target skill, derived from the skill name by default by removing hyphens and capitalizing each word while preserving well-known brand casing and common all-caps acronyms
metadata.description: purpose statement that describes what the skill is for, not how it works, and should stay under 150 characters
metadata.author: initialize from the first Git author for the target SKILL.md
metadata.created: initialize from the first Git timestamp for the target SKILL.md, formatted as UTC YYYY-MM-DDTHH:mm:ssZ
metadata.version: optional; keep unset by default, and only set or update it when the user explicitly asks for versioning
If Git history for the target SKILL.md is unavailable or incomplete, report that clearly and ask the user how to proceed. Do not invent author or created silently when the intended source of truth cannot be verified.
Required Workflow
Follow this sequence:
- Resolve the target skill to one unique
SKILL.md.
- Read the target
SKILL.md frontmatter and current metadata state.
- Read CONTRIBUTING.md and use it as the governing spec.
- Determine whether the user wants initialization, selective update, or normalization.
- Inspect Git history for the target
SKILL.md to derive author and created when needed.
- Determine whether
version should remain unset or be set explicitly according to CONTRIBUTING.md.
- Prepare the exact metadata object that should exist after the change.
- If any existing field with a current value would be changed, present a concise field-by-field diff and ask for explicit confirmation.
- Only after confirmation, update the target
SKILL.md.
- Report the final applied metadata and any assumptions.
Confirmation Policy
You MUST ask for confirmation before writing when any of the following is true:
metadata already exists
- any target metadata key already has a non-empty value
- your update would replace text, not just add a missing field
- your update would normalize formatting for an existing value
- your update would add, change, or remove
version
The confirmation message SHOULD include:
- the target skill identifier
- the exact fields that would change
- the current value and proposed value for each changed field
Output Rules
When no overwrite confirmation is needed, return:
- the resolved target skill
- the metadata values to be written
- the files changed
When overwrite confirmation is needed, return:
- the resolved target skill
- a concise before/after diff for each changed metadata field
- a direct confirmation request before making edits
Red Flags
Stop and ask the user instead of editing if:
- the request names more than one skill
- the path points outside the repository's skill directories
- multiple skills match the provided identifier
- the requested change conflicts with CONTRIBUTING.md
- Git history does not provide a trustworthy source for
author or created
Style
- Be strict about target scoping.
- Be explicit about overwrite risk.
- Prefer deterministic edits over inferred broad updates.
- Keep user-facing explanations short and concrete.
1---
2name: skill-metadata-maintainer
3description: Initialize or update the metadata field in one specific skill's SKILL.md according to this repository's CONTRIBUTING.md rules. Use when Codex needs to maintain metadata for exactly one target skill, derive author and created from git history, and require explicit confirmation before overwriting existing metadata values.
4metadata:
5 source: https://skillmd.com/skills/aibot88/skill-metadata-maintainer
6 name: Skill Metadata Maintainer
7 description: Initialize or update the metadata object in one target skill's SKILL.md.
8 author: Flc゛
9 created: 2026-03-28T12:24:13Z
10---
11
12# Skill Metadata Maintainer
13
14Maintain `metadata` in exactly one target skill.
15
16This skill exists to initialize or update the `metadata` object inside one `SKILL.md` file while following repository rules from [CONTRIBUTING.md](../../CONTRIBUTING.md).
17
18## Non-Negotiable Safety Rules
19
20- You MUST operate on exactly one target skill per request.
21- You MUST require the user to specify a unique target, such as the skill name, the skill directory path, or the `SKILL.md` path.
22- You MUST NOT infer a bulk target such as "all skills", "the whole repo", or "every missing file" from ambiguous wording.
23- If the request does not identify a single skill unambiguously, you MUST stop and ask the user to specify the exact target skill.
24- Before modifying anything, you MUST read the existing `SKILL.md` and inspect the current `metadata` values if present.
25- If any target metadata field already has a value and your change would add, replace, or normalize that value, you MUST explicitly show the user what exists now and ask for confirmation before writing.
26- You MUST NOT silently overwrite existing metadata values.
27
28## Inputs
29
30The request MUST identify one target skill by at least one of:
31
321. skill name, for example `skill-metadata-maintainer`
332. skill directory path, for example `skills/skill-metadata-maintainer`
343. `SKILL.md` file path
35
36Optional user intent may also specify:
37
38- initialize missing metadata only
39- update selected metadata fields
40- normalize metadata to repository convention
41
42## Source Of Truth
43
44When generating or validating metadata, follow [CONTRIBUTING.md](../../CONTRIBUTING.md).
45
46Apply these rules:
47
48- `metadata.name`: human-readable display name for the target skill, derived from the skill name by default by removing hyphens and capitalizing each word while preserving well-known brand casing and common all-caps acronyms
49- `metadata.description`: purpose statement that describes what the skill is for, not how it works, and should stay under 150 characters
50- `metadata.author`: initialize from the first Git author for the target `SKILL.md`
51- `metadata.created`: initialize from the first Git timestamp for the target `SKILL.md`, formatted as UTC `YYYY-MM-DDTHH:mm:ssZ`
52- `metadata.version`: optional; keep unset by default, and only set or update it when the user explicitly asks for versioning
53
54If Git history for the target `SKILL.md` is unavailable or incomplete, report that clearly and ask the user how to proceed. Do not invent `author` or `created` silently when the intended source of truth cannot be verified.
55
56## Required Workflow
57
58Follow this sequence:
59
601. Resolve the target skill to one unique `SKILL.md`.
612. Read the target `SKILL.md` frontmatter and current `metadata` state.
623. Read [CONTRIBUTING.md](../../CONTRIBUTING.md) and use it as the governing spec.
634. Determine whether the user wants initialization, selective update, or normalization.
645. Inspect Git history for the target `SKILL.md` to derive `author` and `created` when needed.
656. Determine whether `version` should remain unset or be set explicitly according to [CONTRIBUTING.md](../../CONTRIBUTING.md).
667. Prepare the exact metadata object that should exist after the change.
678. If any existing field with a current value would be changed, present a concise field-by-field diff and ask for explicit confirmation.
689. Only after confirmation, update the target `SKILL.md`.
6910. Report the final applied metadata and any assumptions.
70
71## Confirmation Policy
72
73You MUST ask for confirmation before writing when any of the following is true:
74
75- `metadata` already exists
76- any target metadata key already has a non-empty value
77- your update would replace text, not just add a missing field
78- your update would normalize formatting for an existing value
79- your update would add, change, or remove `version`
80
81The confirmation message SHOULD include:
82
83- the target skill identifier
84- the exact fields that would change
85- the current value and proposed value for each changed field
86
87## Output Rules
88
89When no overwrite confirmation is needed, return:
90
911. the resolved target skill
922. the metadata values to be written
933. the files changed
94
95When overwrite confirmation is needed, return:
96
971. the resolved target skill
982. a concise before/after diff for each changed metadata field
993. a direct confirmation request before making edits
100
101## Red Flags
102
103Stop and ask the user instead of editing if:
104
105- the request names more than one skill
106- the path points outside the repository's skill directories
107- multiple skills match the provided identifier
108- the requested change conflicts with [CONTRIBUTING.md](../../CONTRIBUTING.md)
109- Git history does not provide a trustworthy source for `author` or `created`
110
111## Style
112
113- Be strict about target scoping.
114- Be explicit about overwrite risk.
115- Prefer deterministic edits over inferred broad updates.
116- Keep user-facing explanations short and concrete.