Jobsearch Telegram 标志

Jobsearch Telegram

组织
proficientlyjobs
jobsearch-telegram

通过 Telegram 轮询求职消息——在聊天中申请职位、搜索岗位并查看申请状态

Add to TypingMind

概览

发布者proficientlyjobs
代码仓库proficiently-claude-skills
技能名称jobsearch-telegram
星标数
430
复刻数
74
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 proficientlyjobs 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Jobsearch Telegram AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/proficientlyjobs/proficiently-claude-skills/tree/main/skills/jobsearch-telegram
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/proficientlyjobs/proficiently-claude-skills.git /tmp/proficiently-claude-skills
mkdir -p .claude/skills
cp -r /tmp/proficiently-claude-skills/skills/jobsearch-telegram .claude/skills/jobsearch-telegram
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Jobsearch Telegram,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Jobsearch Telegram。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Jobsearch Telegram 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Job Search Telegram Polling

Poll Telegram for incoming messages and route them to the appropriate Proficiently skill. Runs headlessly via /loop 1m /proficiently:jobsearch-telegram.

First-Time Setup

Before this skill can run, the user must create a Telegram bot and configure it. If DATA_DIR/telegram-config.md does not exist, walk the user through setup:

1. Create a Telegram Bot

Tell the user:

Let's set up your Telegram bot.

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Choose a name (e.g., "My Job Search Assistant")
  4. Choose a username (must end in bot, e.g., my_jobsearch_bot)
  5. BotFather will give you a bot token — copy it and paste it here

Then send your bot a message (anything) so I can find your chat ID.

2. Get the Chat ID

Once the user provides the bot token, fetch their chat ID:

bash
curl -s "https://api.telegram.org/bot{TOKEN}/getUpdates"

Extract message.chat.id from the first result. If no results, remind the user to send a message to the bot first, then retry.

3. Save Config

Write DATA_DIR/telegram-config.md:

markdown
# Telegram Config

- Bot token: {TOKEN}
- Chat ID: {CHAT_ID}
- Bot username: @{USERNAME}

4. Verify

Send a test message:

bash
curl -s -X POST "https://api.telegram.org/bot{TOKEN}/sendMessage" \
  -H "Content-Type: application/json" \
  -d '{"chat_id": "{CHAT_ID}", "text": "👋 Job search bot connected! Send me a job URL to apply, or say \"search\" to find jobs."}'

If successful, tell the user setup is complete and they can start the loop with /loop 1m /proficiently:jobsearch-telegram.


Config & State Files

Resolve the data directory using shared/references/data-directory.md.

Config — DATA_DIR/telegram-config.md (created during setup, contains bot token + chat ID). Never commit this file to git. Read this first on every poll cycle to get credentials.

State — DATA_DIR/telegram-state.md (tracks polling position). Create if missing:

markdown
# Telegram State

## Polling
- last_update_id: 0

## Pending Confirmations
<!-- Format: [msg_id: X] type/stage — description — waiting since DATE
     For apply confirmations, also store: job_url, form_url, field_mapping (JSON) -->

(none)

## Recent Actions
<!-- Last 20 actions taken -->

Workflow

Step 1: Load Context

  1. Read DATA_DIR/telegram-config.md — if missing, run First-Time Setup above and stop
  2. Read DATA_DIR/telegram-state.md — if missing, create from template above
  3. Read these if they exist: DATA_DIR/job-history.md, DATA_DIR/application-data.md, DATA_DIR/preferences.md

Step 2: Poll for Messages

bash
curl -s "https://api.telegram.org/bot{TOKEN}/getUpdates?offset={LAST_UPDATE_ID+1}&timeout=5"

If no new messages → exit silently. Do not log, do not send anything.

Step 3: Classify Each Message

Parse each message and classify:

Message TypeDetectionRoute
Job URLContains greenhouse.io, lever.co, myworkdayjobs.com, ashbyhq.com, or other job board URLStep 4a: Apply
"apply last" / "apply"Text matches apply (with optional last/current)Step 4a: Apply
"search for ..."Text starts with search, find, look forStep 4b: Search
"tailor resume for ..."Text mentions tailor/resume + contextStep 4c: Tailor
"status" / "what's open"Text asks about application statusStep 4d: Status
"help"Text is exactly help or ?Step 4e: Help
Confirmation replyThreaded reply to a pending confirmation message, OR standalone confirm word (yes/y/go/no/cancel) when pending confirmations existStep 5: Confirm
Plain textAnything elseStep 6: Note

Step 4a: Handle Job URL / Apply Request

  1. Extract the URL or resolve "last"/"current"

  2. Check if a job folder already exists in DATA_DIR/jobs/ for this URL

  3. Send acknowledgment to Telegram:

    🎯 Got it — applying to [URL or "most recent job"].
    I'll scan the form, tailor your resume, and propose answers. Stand by...
  4. Execute the apply workflow from skills/apply/SKILL.md:

    • Follow Steps 0-6 (prerequisites → navigate → scout → generate materials → scan fields → propose answers)
    • Instead of using AskUserQuestion for approval, send the Step 6 proposal summary to Telegram and add to Pending Confirmations
    • Store in the pending confirmation: job_url, form_url (the direct ATS form URL navigated to), and field_mapping (the full approved field→value JSON)
    • Wait for user confirmation via Telegram (will arrive as a reply in a future poll cycle)
  5. When field-approval confirmation arrives (Step 5), re-navigate to form_url, fill all fields, then send a second confirmation (submit approval) with a screenshot description and ask: "Everything looks good — submit?"

    • Store this as a new pending confirmation with stage: "submit-approval"
  6. When submit-approval arrives, click Submit, then log the application (Step 9 of the apply skill).

Sending the proposal: Use the send message helper (Step 8) with the full field summary. Keep it under 4000 chars. If longer, split into: (1) auto-fill fields, (2) proposed answers, (3) needs input.

Two-phase confirmation flow:

  • Phase 1 (stage: field-approval): User approves the field→value mapping
  • Phase 2 (stage: submit-approval): User approves the final form before clicking Submit
  • Never skip phase 2 — submitting a job application is irreversible

Step 4b: Handle Search Request

  1. Extract search keywords from the message
  2. Send acknowledgment: 🔍 Searching for: [keywords]...
  3. Execute the job-search workflow from skills/job-search/SKILL.md
  4. Send results summary to Telegram:
    🔍 Found X matches for "[keywords]":
    
    1. [Role] at [Company] — [fit score]
       [URL]
    2. ...
    
    Reply with a number to apply, or "apply 1" / "apply 3" etc.
  5. Add to Pending Confirmations with the job list so replies can be matched

Step 4c: Handle Tailor Request

  1. Extract job reference (URL, "last", or job name)
  2. Send acknowledgment: 📝 Tailoring resume for [job]...
  3. Execute the tailor-resume workflow from skills/tailor-resume/SKILL.md
  4. Send result to Telegram with key changes made
  5. Note the file path where the tailored resume was saved

Step 4d: Handle Status Query

Compile from DATA_DIR/job-history.md and DATA_DIR/jobs/*/applied.md:

📋 Job Search Status

Applied (X):
- [Role] at [Company] — [date] — [status]
- ...

Saved but not applied (Y):
- [Role] at [Company] — [date saved]
- ...

Pending your confirmation:
- [any pending apply proposals]

Step 4e: Handle Help Request

Send:

👋 Here's what you can do:

<b>Apply</b>
• Send a job URL → I'll apply for you
• "apply last" → continue with the most recent job

<b>Search</b>
• "search [keywords]" → find matching jobs
• "find AI product jobs" → same thing

<b>Resume</b>
• "tailor resume for [job URL or name]"

<b>Status</b>
• "status" → see all applications and what's pending

<b>Other</b>
• "help" → this message
• Any other text is saved as a note

Step 5: Handle Confirmation Reply

A confirmation reply is either:

  • A threaded reply (Telegram's native reply feature): match via reply_to_message.message_id to a pending confirmation
  • A standalone message containing only a confirm/reject word (yes, y, go, send it, 👍, no, skip, cancel, ❌) when pending confirmations exist

Disambiguation when standalone:

  • If exactly one pending confirmation exists → apply it to that confirmation
  • If multiple pending confirmations exist → respond with a numbered list of what's pending and ask which one they mean:
    You have X things waiting. Which one?
    1. [description of pending 1]
    2. [description of pending 2]
    Reply with a number.

Processing:

  1. Look up the pending confirmation in telegram-state.md
  2. Parse the user's reply:
    • "yes" / "y" / "go" / "send it" / 👍 → approve
    • "no" / "skip" / "cancel" / ❌ → reject
    • "yes but [changes]" → approve with modifications
    • A number (e.g., "2") → select that option from a list
  3. Execute the approved action:
    • stage: field-approval → re-navigate to form_url, fill fields using field_mapping, then send submit-approval prompt
    • stage: submit-approval → click Submit, log application
    • Search result selection → start apply workflow for selected job
  4. Send confirmation of what was done
  5. Remove from Pending Confirmations, add to Recent Actions

Step 6: Handle Plain Text Note

  1. Log to DATA_DIR/telegram-inbox.md with timestamp
  2. If it looks like a company name or job title, suggest: "Want me to search for [text] jobs?"
  3. Otherwise confirm: "Noted 👍"

Step 7: Update State

After processing all messages:

  1. Update last_update_id in DATA_DIR/telegram-state.md
  2. Update Pending Confirmations (add new, remove resolved). For each apply confirmation, include:
    [msg_id: X] apply/field-approval — [Role] at [Company] — waiting since DATE
    job_url: https://...
    form_url: https://...
    field_mapping: {"First Name": "...", "Email": "...", ...}
  3. Update Recent Actions (keep last 20, newest first)

Step 8: Sending Messages

Read credentials from DATA_DIR/telegram-config.md, then send via curl:

bash
curl -s -X POST "https://api.telegram.org/bot{TOKEN}/sendMessage" \
  -H "Content-Type: application/json" \
  -d '{"chat_id": "CHAT_ID", "text": "MESSAGE", "parse_mode": "HTML"}'

For replies to specific messages, add "reply_to_message_id": MSG_ID.

Formatting rules:

  • Use HTML: <b>bold</b>, <i>italic</i>, <code>code</code>
  • Keep messages under 4000 chars (Telegram limit is 4096)
  • Be concise — user reads on mobile
  • Use line breaks for readability, not walls of text

To capture the sent message's message_id (needed for tracking confirmations):

bash
# Parse from response JSON
jq -r '.result.message_id'

Key Rules

  • HEADLESS. Never use AskUserQuestion. All interaction happens through Telegram.
  • Acknowledge fast. Send a quick reply before starting long operations (apply, search, tailor).
  • Suggest before acting. For apply: always send the proposal and wait for Telegram confirmation before filling fields.
  • Never skip submit confirmation. Submitting an application is irreversible — always require explicit approval.
  • Exit silently if no new messages. Don't log empty polls.
  • Concise messages. Mobile-first. No walls of text.
  • Track everything in telegram-state.md so confirmations persist across poll cycles.
  • No secrets in git. Credentials live only in DATA_DIR/telegram-config.md.
  • Log costs every cycle. See Cost Tracking below.

Cost Tracking

After every poll cycle that does actual work (not silent exits), you MUST:

  1. Count your token usage for this cycle. At the end of your response, estimate:

    • Input tokens: approximate total from all files read + tool results received
    • Output tokens: approximate total from all text + tool calls you generated
    • Use these rates: input = $3/M tokens, output = $15/M tokens (cache reads = $1.875/M)
  2. Append to DATA_DIR/telegram-cost-log.csv (create with header if missing):

    csv
    timestamp,action,input_tokens,output_tokens,estimated_cost_usd

    Example row:

    csv
    2026-03-11T14:30:00Z,apply-proposal,12000,3500,$0.09
  3. Include a cost footer in every Telegram reply:

    ---
    📊 ~12K in / ~3.5K out · ~$0.09
  4. On "status" queries, include a cost summary section:

    💰 Cost this session: $X.XX (Y interactions)
    💰 Cost all-time: $X.XX (Z interactions)

    Compute from the CSV log.

Permissions Required

Add to ~/.claude/settings.json:

json
{
  "permissions": {
    "allow": [
      "Bash(curl:*)",
      "Bash(jq:*)",
      "Read(~/.proficiently/**)",
      "Write(~/.proficiently/**)",
      "Edit(~/.proficiently/**)",
      "Read(~/.claude/skills/**)",
      "mcp__claude-in-chrome__*"
    ]
  }
}

常见问题

Jobsearch Telegram AI 技能有什么作用?

通过 Telegram 轮询求职消息——在聊天中申请职位、搜索岗位并查看申请状态

为什么在 TypingMind 中使用 Jobsearch Telegram?

因为您只需安装一次,就能搭配任何模型使用。Jobsearch Telegram 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Jobsearch Telegram?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/proficientlyjobs/proficiently-claude-skills/tree/main/skills/jobsearch-telegram。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Jobsearch Telegram?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Jobsearch Telegram 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Jobsearch Telegram 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Jobsearch Telegram AI 技能免费吗?

proficientlyjobs 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇