Poll Telegram for job search messages — apply to jobs, search for roles, check status, all via chat
npx skills add https://github.com/proficientlyjobs/proficiently-claude-skills --skill jobsearch-telegram
Poll Telegram for incoming messages and route them to the appropriate Proficiently skill. Runs headlessly via /loop 1m /proficiently:jobsearch-telegram.
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:
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.
Once the user provides the bot token, fetch their chat ID:
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.
Write DATA_DIR/telegram-config.md:
# Telegram Config
- Bot token: {TOKEN}
- Chat ID: {CHAT_ID}
- Bot username: @{USERNAME}
Send a test message:
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.
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:
# 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 -->
DATA_DIR/telegram-config.md — if missing, run First-Time Setup above and stopDATA_DIR/telegram-state.md — if missing, create from template aboveDATA_DIR/job-history.md, DATA_DIR/application-data.md, DATA_DIR/preferences.mdcurl -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.
Parse each message and classify:
| Message Type | Detection | Route |
|---|---|---|
| Job URL | Contains greenhouse.io, lever.co, myworkdayjobs.com, ashbyhq.com, or other job board URL | Step 4a: Apply |
| "apply last" / "apply" | Text matches apply (with optional last/current) | Step 4a: Apply |
| "search for ..." | Text starts with search, find, look for | Step 4b: Search |
| "tailor resume for ..." | Text mentions tailor/resume + context | Step 4c: Tailor |
| "status" / "what's open" | Text asks about application status | Step 4d: Status |
| "help" | Text is exactly help or ? | Step 4e: Help |
| Confirmation reply | Threaded reply to a pending confirmation message, OR standalone confirm word (yes/y/go/no/cancel) when pending confirmations exist | Step 5: Confirm |
| Plain text | Anything else | Step 6: Note |
DATA_DIR/jobs/ for this URL 🎯 Got it — applying to [URL or "most recent job"].
I'll scan the form, tailor your resume, and propose answers. Stand by...
skills/apply/SKILL.md:job_url, form_url (the direct ATS form URL navigated to), and field_mapping (the full approved field→value JSON)form_url, fill all fields, then send a second confirmation (submit approval) with a screenshot description and ask: "Everything looks good — submit?"stage: "submit-approval"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:
stage: field-approval): User approves the field→value mappingstage: submit-approval): User approves the final form before clicking Submit🔍 Searching for: [keywords]...skills/job-search/SKILL.md 🔍 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.
📝 Tailoring resume for [job]...skills/tailor-resume/SKILL.mdCompile 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]
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
A confirmation reply is either:
reply_to_message.message_id to a pending confirmationyes, y, go, send it, 👍, no, skip, cancel, ❌) when pending confirmations existDisambiguation when standalone:
You have X things waiting. Which one?
1. [description of pending 1]
2. [description of pending 2]
Reply with a number.
Processing:
telegram-state.mdstage: field-approval → re-navigate to form_url, fill fields using field_mapping, then send submit-approval promptstage: submit-approval → click Submit, log applicationDATA_DIR/telegram-inbox.md with timestamp"Want me to search for [text] jobs?""Noted 👍"After processing all messages:
last_update_id in DATA_DIR/telegram-state.md [msg_id: X] apply/field-approval — [Role] at [Company] — waiting since DATE
job_url: https://...
form_url: https://...
field_mapping: {"First Name": "...", "Email": "...", ...}
Read credentials from DATA_DIR/telegram-config.md, then send via curl:
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:
<b>bold</b>, <i>italic</i>, <code>code</code>To capture the sent message's message_id (needed for tracking confirmations):
# Parse from response JSON
jq -r '.result.message_id'
DATA_DIR/telegram-config.md.After every poll cycle that does actual work (not silent exits), you MUST:
DATA_DIR/telegram-cost-log.csv (create with header if missing): timestamp,action,input_tokens,output_tokens,estimated_cost_usd
Example row:
2026-03-11T14:30:00Z,apply-proposal,12000,3500,$0.09
---
📊 ~12K in / ~3.5K out · ~$0.09
💰 Cost this session: $X.XX (Y interactions)
💰 Cost all-time: $X.XX (Z interactions)
Compute from the CSV log.
Add to ~/.claude/settings.json:
{
"permissions": {
"allow": [
"Bash(curl:*)",
"Bash(jq:*)",
"Read(~/.proficiently/**)",
"Write(~/.proficiently/**)",
"Edit(~/.proficiently/**)",
"Read(~/.claude/skills/**)",
"mcp__claude-in-chrome__*"
]
}
}
Analyzes meeting transcripts and recordings to uncover behavioral patterns, communication insights, and actionable feedback. Identifies when you avoid conflict, use filler words, dominate conversations, or miss opportunities to listen. Perfect for professionals seeking to improve their communication and leadership skills.
Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like "make me a GIF for Slack of X doing Y".
Analyzes your recent Claude Code chat history to identify coding patterns, development gaps, and areas for improvement, curates relevant learning resources from HackerNews, and automatically sends a personalized growth report to your Slack DMs.
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack.
A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.
Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.
Prepare meeting materials with Notion context and Codex research; use when gathering context, drafting agendas/pre-reads, and tailoring materials to attendees.
Interactive daily standup/meeting update generator. Use when user says 'daily', 'standup', 'scrum update', 'status update', 'what did I do yesterday', 'prepare for meeting', 'morning update', or 'team sync'. Pulls activity from GitHub, Jira, and Claude Code session history. Conducts 4-question interview (yesterday, today, blockers, discussion topics) and generates formatted Markdown update.
Take proficientlyjobs/jobsearch-telegram from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.