Skip to content

feat(agent-instructions): use the skill directly from a clone - #21

Merged
codeotter0201 merged 3 commits into
mainfrom
feat/issue-20-clone-and-run
Nov 9, 2026
Merged

codeotter0201 merged 3 commits into
mainfrom
feat/issue-20-clone-and-run

Conversation

@codeotter0201

@codeotter0201 codeotter0201 commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Summary

Lets a user clone this repository and start an AI agent in it to use the headhunter skill, with no plugin install. Updating is git pull.

  • Adds relative symbolic links .claude/skills/headhunter and .agents/skills/headhunter to skills/headhunter, which stays the only copy.
  • Adds a "Using the Skill" section to AGENTS.md that routes job-search work to SKILL.md and limits the repository rules to repository changes.
  • Reorganizes the Install section of both READMEs around clone-and-run, the Claude Code plugin, and copying the skill.
  • Names the plugin's registered slash command, /headhunter:headhunter, in the plugin install steps of both READMEs.
  • Removes the only Simplified Chinese term from README.zh-TW.md.

Related Issues

Fixes #20

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Data layout change (existing data folders need migration)
  • Documentation update
  • Refactoring (no functional changes)

Validation

Run on macOS with Claude Code 2.1.287, on a git clone of a snapshot of this change, with HEADHUNTER_DATA_DIR set to a temporary folder and no Candidate data.

Check Result
claude plugin validate . Passed
claude plugin validate .claude-plugin/plugin.json Passed, with the expected CLAUDE.md warning
Links after git clone Both remain symbolic links to ../../skills/headhunter
hh.py init and hh.py candidate list through each link Exit 0
claude -p in the clone with no plugin installed Session init lists skill and slash command headhunter
claude -p --plugin-dir . in the clone Lists both headhunter and headhunter:headhunter, which are the same skill
claude --plugin-dir <repo> from an empty folder outside the repository Session init lists only headhunter:headhunter

The plugin case used --plugin-dir rather than a marketplace install, to leave the local Claude Code configuration unchanged.

Not run:

  • Sending /headhunter with only the plugin loaded. The local CLI's OAuth session had expired, so the command never ran and whether the short name resolves is unknown. The README uses the registered name.
  • Windows. The links are committed as git symbolic links, and the README states what Windows users need.
  • Agents other than Claude Code.
  • A full job-search walkthrough. Skill behavior is unchanged.

Final commit: claude plugin validate . and claude plugin validate .claude-plugin/plugin.json passed again, and an OpenCC scan of tracked files found no Simplified Chinese characters beyond false positives on valid Traditional text.

Checklist

  • No real candidate data in code, examples, fixtures, screenshots or this PR
  • skills/headhunter/SKILL.md, README.md and README.zh-TW.md updated when behavior or data layout changed (SKILL.md is unchanged because skill behavior is unchanged)
  • Migration for existing data folders described (data layout changes only)
  • Self-review completed
  • Documentation updated (if needed)

🤖 Generated with Claude Code

Link the skill into the project skill folders and route job-search
requests from AGENTS.md, so a cloned repository works without a plugin
install and updates with git pull.

Refs #20

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added area/agent-instructions AGENTS.md, CLAUDE.md, CONTEXT.md and skill instructions area/docs README and contributor documentation type/feature New functionality labels Nov 9, 2026
codeotter0201 and others added 2 commits November 9, 2026 15:15
With only the plugin loaded, Claude Code registers the skill as
headhunter:headhunter.

Refs #20

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codeotter0201
codeotter0201 merged commit 31df47b into main Nov 9, 2026
2 checks passed
@codeotter0201
codeotter0201 deleted the feat/issue-20-clone-and-run branch November 9, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/agent-instructions AGENTS.md, CLAUDE.md, CONTEXT.md and skill instructions area/docs README and contributor documentation type/feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Use the headhunter skill directly from a cloned repository

1 participant