Skip to content
Agentmart
Submit a tool

gather-project-metadata

Use when creating research or plan documents to gather git commit, branch, repository info.

Skill by eveld

IndexedMIT★ 10
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/eveld-gather-project-metadata

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when creating research or plan documents to gather git commit, branch, repository info.

Use cases: research

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/gather-project-metadata

What's inside

Skill name
gather-project-metadata
Description
Use when creating research or plan documents to gather git commit, branch, repository info.
License
MIT
Instructions
67 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Gather Project Metadata

Collect metadata for documentation frontmatter.

## What to Gather

- Current timestamp (ISO format with timezone)
- Git commit hash
- Git branch name
- Repository name
- Project name (from directory or package.json)
- Feature slug (if in feature directory context)

## How to Gather

Run the metadata collection script:

```bash
~/.claude/scripts/collect-metadata.sh
```

Or gather manually:

```bash
# Timestamp
date -u +"%Y-%m-%dT%H:%M:%SZ"

# Git info
git rev-parse HEAD
git rev-parse --abbrev-ref HEAD
git remote get-url origin | sed 's/.*[:/]\(.*\)\.git/\1/'

# Project name
basename $(pwd)

# Feature slug (if applicable)
FEATURE_DIR=$(pwd | grep -oE 'thoughts/[0-9]{4}-[^/]+' || echo "")
if [ -n "$FEATURE_DIR" ]; then
    basename "$FEATURE_DIR"
fi
```

## Usage in Documents

Insert gathered metadata into frontmatter:

```yaml
---
date: 2025-12-23T10:30:00Z
git_commit: abc123...
branch: main
repository: github.com/eveld/claude
---
```

## Template Variables

When using templates, replace these placeholders:
- `{ISO_TIMESTAMP}` - ISO 8601 timestamp
- `{GIT_COMMIT}` - Full commit hash
- `{BRANCH_NAME}` - Current branch
- `{REPOSITORY}` - Repository path
- `{PROJECT_NAME}` - Project name
- `{DATE}` - Simple date (YYYY-MM-DD)
- `{FEATURE_SLUG}` - Feature slug (e.g., "0005-authentication")

From eveld/claude, MIT.

More from eveld/claude

Signals

Stars
10
Forks
2
Open issues
0
Last commit (this folder)
Feb 4, 2026 (8 months ago)
Last release
Dec 29, 2025 (10 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from eveld

Cite this page

gather-project-metadata skill. Agent Mart. https://agentmart.dev/skills/eveld-gather-project-metadata (last updated 2026-10-24)