
Spec metadata
Collects timestamp and git or jj repo metadata for research and handoff documents
Spec metadata is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 12
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Spec metadata
This skill gives the agent a repeatable way to stamp documentation with context about where it was written. It runs shell commands to read the current date and time with timezone, a filename-safe timestamp, the repository root and name, the active branch or bookmark, and the current commit hash. Separate command sets cover Git and Jujutsu (jj) repositories.
The skill also defines a fixed output block for presenting those values and a YAML frontmatter template that places them in fields such as date, git_commit, branch, repository and last_updated. It notes practical conventions, such as using underscores and 24-hour time in filenames and always including a timezone in the date field.
It is intended for work inside a git or jj checkout and needs a shell with those tools available. The skill is granted Bash access in its frontmatter and includes no bundled scripts; it relies on the commands it lists.
When your agent uses it
Generates metadata for research documents and specifications including date/time, git commit, branch, and repository info. Use when creating research documents, handoffs, or any documentation that needs timestamp and git metadata.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- Asks for: Bash(see the files on GitHub)
- License: Apache-2.0(see the files on GitHub)
From a static check of its 1 file (2 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the humanlayer plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add jeffh/claude-plugins
/plugin install humanlayer@jeffh-claude-pluginsOr copy only this skill to ~/.claude/skills/spec-metadata:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jeffh/claude-plugins.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/spec-metadata &&
cp -R "$tmp/humanlayer/skills/spec-metadata" ~/.claude/skills/spec-metadata &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/spec-metadata inside it instead.
Copy the skill folder to ~/.agents/skills/spec-metadata to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jeffh/claude-plugins.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/spec-metadata &&
cp -R "$tmp/humanlayer/skills/spec-metadata" ~/.agents/skills/spec-metadata &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/spec-metadata inside it instead.
Copy the skill folder to ~/.cursor/skills/spec-metadata to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jeffh/claude-plugins.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/spec-metadata &&
cp -R "$tmp/humanlayer/skills/spec-metadata" ~/.cursor/skills/spec-metadata &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/spec-metadata inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/jeffh/claude-plugins.git --path humanlayer/skills/spec-metadataOr copy the folder to ~/.gemini/skills/spec-metadata yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/spec-metadata:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jeffh/claude-plugins.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/spec-metadata &&
cp -R "$tmp/humanlayer/skills/spec-metadata" ~/.copilot/skills/spec-metadata &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/spec-metadata inside it instead.
Get the folder:
git clone --depth 1 https://github.com/jeffh/claude-plugins.gitThen copy claude-plugins/humanlayer/skills/spec-metadata into your agent's skills folder as spec-metadata. Agents that support SKILL.md read one folder per skill.
What it does
- Date and timezone capture
- Reads the current date and time with its timezone for use in documents.
- Filename timestamps
- Produces a sortable, filename-safe timestamp format with 24-hour time.
- Git repository details
- Retrieves the repo root, repo name, active branch and current commit hash.
- Jujutsu support
- Provides equivalent commands for jj workspaces, including bookmarks and short commit IDs.
- Frontmatter template
- Supplies a YAML block layout for recording metadata at the top of documents.
- Standard output format
- Defines a consistent summary layout for reporting the collected metadata.
Good for
- Add timestamp and commit metadata to a research document
- Create a handoff note that records the current branch and commit
- Write a specification with a date-stamped filename
- Record which repository and bookmark a planning document refers to
Spec metadata FAQ
What does the skill need to run?
It uses Bash commands, so the agent needs shell access. Git commands are used in Git repositories and jj commands in Jujutsu repositories.
Does Spec metadata change any files?
The skill itself only collects metadata with read-oriented commands and gives a template for frontmatter. Writing the document is left to the agent's task.
When does Spec metadata activate?
It activates when creating research documents, handoffs, implementation plans, or other documentation that needs timestamp and git metadata.
How do I install Spec metadata in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/spec-metadata to use it in all your projects, or to .claude/skills/spec-metadata in one project. Or install the humanlayer plugin, which includes it: /plugin marketplace add jeffh/claude-plugins, then /plugin install humanlayer@jeffh-claude-plugins.
Does Spec metadata run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Spec metadata?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Spec metadata?
The closest alternatives to Spec metadata are Git, Repo story time, Commit, GitHub issue creator and Commit.
Where this comes from
- Description: from the skill's own SKILL.md.
More from jeffh/claude-plugins

Lets Claude hand desktop and browser UI tasks to a Codex agent that drives apps
- Open source
- 12 GitHub stars
- Browser automation

Hands a coding task to a Codex subagent that edits files in the working directory
- Open source
- 12 GitHub stars
- Developer tools

Gets a read-only second code review from a Codex subagent via codex exec
- Open source
- 12 GitHub stars
- Developer tools

Sets up an isolated git or jj worktree with dependencies ready for a feature or fix
- Open source
- 12 GitHub stars
- Developer tools

Writes conventional commit messages for jj changes, without Claude attribution
- Open source
- 12 GitHub stars
- Developer tools

Takes jj commits through description, bookmarks, push, and stacked GitHub PRs
- Open source
- 12 GitHub stars
- Developer tools




