From c246e86f6f3e2f9b533ed3ae50a72d2c0494eec2 Mon Sep 17 00:00:00 2001 From: ender Date: Mon, 9 Nov 2026 15:07:14 +0800 Subject: [PATCH 1/3] feat(agent-instructions): use the skill directly from a clone 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 --- .agents/skills/headhunter | 1 + .claude/skills/headhunter | 1 + AGENTS.md | 9 +++++++++ README.md | 21 +++++++++++++++++++-- README.zh-TW.md | 21 +++++++++++++++++++-- 5 files changed, 49 insertions(+), 4 deletions(-) create mode 120000 .agents/skills/headhunter create mode 120000 .claude/skills/headhunter diff --git a/.agents/skills/headhunter b/.agents/skills/headhunter new file mode 120000 index 0000000..6755188 --- /dev/null +++ b/.agents/skills/headhunter @@ -0,0 +1 @@ +../../skills/headhunter \ No newline at end of file diff --git a/.claude/skills/headhunter b/.claude/skills/headhunter new file mode 120000 index 0000000..6755188 --- /dev/null +++ b/.claude/skills/headhunter @@ -0,0 +1 @@ +../../skills/headhunter \ No newline at end of file diff --git a/AGENTS.md b/AGENTS.md index e86ab19..9a17342 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -9,6 +9,13 @@ This repository holds the skill, its plugin packaging, and its specification. This file is the single instruction source for every AI agent working in this repository, whatever tool or model runs it. +## Using the Skill + +When the user asks for job-search work, such as managing candidates, reading or +evaluating jobs, writing resumes, or tracking applications, read +`skills/headhunter/SKILL.md` and follow it. The rest of this file applies only +when changing this repository. + ## Project Constitution - **Ownership:** Treat the active checkout, branch, and existing work as @@ -101,6 +108,8 @@ CONTRIBUTING.md issue, branch, commit, pull request and release ru README.md product overview (English) README.zh-TW.md product overview (Traditional Chinese) skills/headhunter/SKILL.md the headhunter skill: current behavior and data layout +.agents/skills/headhunter link to skills/headhunter for skill discovery +.claude/skills/headhunter link to skills/headhunter for skill discovery .claude-plugin/ plugin and marketplace manifests .github/ issue forms, PR template, labeler .gemini/settings.json points Gemini CLI to AGENTS.md diff --git a/README.md b/README.md index efb796c..68a2fe7 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,23 @@ A job search piles up more than anyone can keep straight: old resumes, notes, wo ## Install +The skill's helper script needs Python 3.9 or later, with no extra packages. Importing a GitHub repository or profile uses the [GitHub CLI](https://cli.github.com) (`gh`). Printing resumes to PDF uses Google Chrome, Chromium or Microsoft Edge. + +### Clone and run (any AI agent) + +```bash +git clone https://github.com/codeotter0201/headhunter-agent.git +cd headhunter-agent +``` + +Start your AI agent in this folder and tell it what you want, such as "add me as a candidate and import this resume". In Claude Code you can also run `/headhunter`. To update, run `git pull` in this folder. + +Agents find the skill in `.claude/skills/` or `.agents/skills/`, and agents without skill discovery are sent to it by `AGENTS.md`. The agent must be able to read files and run commands, so chat-only AI services cannot run the skill. The two skill folders are symbolic links: on Windows, enable them before cloning, or use an agent that reads `AGENTS.md`. + +### Claude Code plugin + +To use the skill from any folder in Claude Code: + ``` /plugin marketplace add codeotter0201/headhunter-agent /plugin install headhunter@headhunter-agent @@ -29,9 +46,9 @@ A job search piles up more than anyone can keep straight: old resumes, notes, wo Then run `/headhunter` in Claude Code. -The skill's helper script needs Python 3.9 or later, with no extra packages. Importing a GitHub repository or profile uses the [GitHub CLI](https://cli.github.com) (`gh`). Printing resumes to PDF uses Google Chrome, Chromium or Microsoft Edge. +### Other AI agents, from any folder -Other AI agents that support the Agent Skills format can use the skill too: copy `skills/headhunter/` into that agent's skills folder. +Agents that support the Agent Skills format can use the skill anywhere: copy `skills/headhunter/` into that agent's skills folder. ## Your data stays local diff --git a/README.zh-TW.md b/README.zh-TW.md index 390b6ba..fb6a16e 100644 --- a/README.zh-TW.md +++ b/README.zh-TW.md @@ -22,6 +22,23 @@ ## 安裝 +skill 的輔助腳本需要 Python 3.9 以上,不需安裝其他套件。匯入 GitHub repo 或個人頁面時會用到 [GitHub CLI](https://cli.github.com)(`gh`)。履歷轉成 PDF 時會用到 Google Chrome、Chromium 或 Microsoft Edge。 + +### Clone 後直接使用(任何 AI agent) + +```bash +git clone https://github.com/codeotter0201/headhunter-agent.git +cd headhunter-agent +``` + +在這個資料夾啟動你的 AI agent,告訴它你想做什麼,例如「把我加為候選人,並匯入這份履歷」。在 Claude Code 也可以輸入 `/headhunter`。要更新時,在這個資料夾執行 `git pull`。 + +Agent 會在 `.claude/skills/` 或 `.agents/skills/` 找到 skill,不支援自動發現 skill 的 agent 則由 `AGENTS.md` 引導使用。Agent 必須能讀取檔案並執行指令,因此只能對話的 AI 服務無法執行這個 skill。這兩個 skill 資料夾是符號連結:在 Windows 上請先啟用符號連結再 clone,或使用會讀取 `AGENTS.md` 的 agent。 + +### Claude Code plugin + +要在 Claude Code 的任何資料夾使用這個 skill: + ``` /plugin marketplace add codeotter0201/headhunter-agent /plugin install headhunter@headhunter-agent @@ -29,9 +46,9 @@ 安裝後在 Claude Code 輸入 `/headhunter`。 -skill 的輔助腳本需要 Python 3.9 以上,不需安裝其他套件。匯入 GitHub repo 或個人頁面時會用到 [GitHub CLI](https://cli.github.com)(`gh`)。履歷轉成 PDF 時會用到 Google Chrome、Chromium 或 Microsoft Edge。 +### 在任何資料夾使用其他 AI agent -其他支援 Agent Skills 格式的 AI agent 也能使用:把 `skills/headhunter/` 複製到該 agent 的 skills 資料夾即可。 +支援 Agent Skills 格式的 agent 可以在任何地方使用這個 skill:把 `skills/headhunter/` 複製到該 agent 的 skills 資料夾即可。 ## 資料只存在本機 From 767beccf2843d41708a21c839eae1cf44e91f3d2 Mon Sep 17 00:00:00 2001 From: ender Date: Mon, 9 Nov 2026 15:15:54 +0800 Subject: [PATCH 2/3] docs(plugin): name the plugin's registered slash command With only the plugin loaded, Claude Code registers the skill as headhunter:headhunter. Refs #20 Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- README.zh-TW.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 68a2fe7..8492abe 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ To use the skill from any folder in Claude Code: /plugin install headhunter@headhunter-agent ``` -Then run `/headhunter` in Claude Code. +Then run `/headhunter:headhunter` in Claude Code. ### Other AI agents, from any folder diff --git a/README.zh-TW.md b/README.zh-TW.md index fb6a16e..9e92f6a 100644 --- a/README.zh-TW.md +++ b/README.zh-TW.md @@ -44,7 +44,7 @@ Agent 會在 `.claude/skills/` 或 `.agents/skills/` 找到 skill,不支援自 /plugin install headhunter@headhunter-agent ``` -安裝後在 Claude Code 輸入 `/headhunter`。 +安裝後在 Claude Code 輸入 `/headhunter:headhunter`。 ### 在任何資料夾使用其他 AI agent From cb01d8609c834922ea161aabba0e1810b56bbf91 Mon Sep 17 00:00:00 2001 From: ender Date: Mon, 9 Nov 2026 16:34:11 +0800 Subject: [PATCH 3/3] docs(docs): keep the Chinese README in Traditional Chinese Co-Authored-By: Claude Opus 5.5 --- README.zh-TW.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.zh-TW.md b/README.zh-TW.md index 9e92f6a..7ac741e 100644 --- a/README.zh-TW.md +++ b/README.zh-TW.md @@ -60,7 +60,7 @@ Agent 會在 `.claude/skills/` 或 `.agents/skills/` 找到 skill,不支援自 --- -關鍵字:獵頭、猎头、人力仲介、求職、找工作、履歷、客製履歷、職缺評估、職缺媒合、投遞追蹤、面試回饋、人力銀行、104、CakeResume、Claude Code skill +關鍵字:獵頭、人力仲介、求職、找工作、履歷、客製履歷、職缺評估、職缺媒合、投遞追蹤、面試回饋、人力銀行、104、CakeResume、Claude Code skill ## 授權