Boss Cli logo

Boss Cli

Community
jackwener
boss-cli

Use boss-cli for ALL BOSS 直聘 operations — searching jobs, viewing recommendations, managing applications, chatting with recruiters, and batch greeting. Invoke whenever the user requests any job search or recruitment platform interaction on BOSS 直聘.

Overview

Publisherjackwener
Repositoryboss-cli
Skill nameboss-cli
Stars
977
Forks
121
Bundled files
24
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 24 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by jackwener on GitHub. Read the source before you install it.

Installation

Install the Boss Cli AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jackwener/boss-cli/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jackwener/boss-cli.git \
  .claude/skills/boss-cli
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Boss Cli in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Boss Cli on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Boss Cli is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

boss-cli — BOSS 直聘 CLI Tool

Binary: boss Credentials: browser cookies (auto-extracted from 10+ browsers) or QR code login (--qrcode)

Setup

bash
# Install (requires Python 3.10+)
uv tool install kabi-boss-cli
# Or: pipx install kabi-boss-cli

# Upgrade to latest (recommended)
uv tool upgrade kabi-boss-cli
# Or: pipx upgrade kabi-boss-cli

Authentication

IMPORTANT FOR AGENTS: Before executing ANY boss command, check if credentials exist first. Do NOT assume cookies are configured.

Step 0: Check if already authenticated

bash
boss status --json 2>/dev/null | jq -r '.authenticated' | grep -q true && echo "AUTH_OK" || echo "AUTH_NEEDED"

If AUTH_OK, skip to Command Reference. If AUTH_NEEDED, proceed to Step 1.

Step 1: Guide user to authenticate

Ensure user is logged into zhipin.com in any supported browser (Chrome, Firefox, Edge, Brave, Arc, Chromium, Opera, Vivaldi, Safari, LibreWolf). Then:

bash
boss login                              # auto-detect browser with valid cookies
boss login --cookie-source chrome       # specify browser explicitly
boss login --qrcode                     # QR code login — scan with Boss app

Verify with:

bash
boss status
boss me --json | jq '.data.name'

Step 2: Handle common auth issues

SymptomAgent action
环境异常 (__zp_stoken__ 已过期)Run boss logout && boss login
未登录Run boss login
Rate limited (code=9)Auto-cooldown built-in; wait and retry
API timeoutCheck network, retry

Agent Defaults

All machine-readable output uses the envelope documented in SCHEMA.md. Payloads live under .data.

  • Non-TTY stdout → auto YAML
  • --json / --yaml → explicit format
  • Rich output → stderr (safe for pipes: boss search X --json | jq .data)

Command Reference

Search & Browse

CommandDescriptionExample
boss search <keyword>Search jobs with filtersboss search "golang" --city 杭州 --salary 20-30K
boss show <index>View job #N from last searchboss show 3
boss detail <securityId>View full job detailsboss detail abc123 --json
boss export <keyword>Export search results to CSV/JSONboss export "Python" -n 50 -o jobs.csv
boss recommendPersonalized recommendationsboss recommend -p 2 --json
boss historyView browsing historyboss history --json
boss citiesList supported citiesboss cities

Personal Center

CommandDescriptionExample
boss meView profile (name, age, degree)boss me --json
boss appliedView applied jobsboss applied -p 1 --json
boss interviewsView interview invitationsboss interviews --json
boss chatView communicated bossesboss chat --json

Actions

CommandDescriptionExample
boss greet <securityId>Greet a boss / applyboss greet abc123 --json
boss batch-greet <keyword>Batch greet from searchboss batch-greet "Python" --city 杭州 -n 5
boss batch-greet <keyword> --dry-runPreview without sendingboss batch-greet "golang" --dry-run

Account

CommandDescription
boss loginExtract cookies from browser (auto-detect, fallback QR)
boss login --cookie-source <browser>Extract from specific browser
boss login --qrcodeQR code login only (terminal QR output)
boss statusCheck authentication status (shows cookie names)
boss logoutClear saved credentials

Search Filter Options

FilterFlagValues
City--city北京, 上海, 杭州, 深圳, etc. (use boss cities for full list)
Salary--salary3K以下, 3-5K, 5-10K, 10-15K, 15-20K, 20-30K, 30-50K, 50K以上
Experience--exp不限, 在校/应届, 1年以内, 1-3年, 3-5年, 5-10年, 10年以上
Degree--degree不限, 大专, 本科, 硕士, 博士
Industry--industry互联网, 电子商务, 游戏, 人工智能, 金融, 教育培训, 医疗健康, etc.
Company Scale--scale0-20人, 20-99人, 100-499人, 500-999人, 1000-9999人, 10000人以上
Funding Stage--stage未融资, 天使轮, A轮, B轮, C轮, D轮及以上, 已上市, 不需要融资
Job Type--job-type全职, 兼职, 实习

Agent Workflow Examples

Search → Batch Greet pipeline

bash
# Preview first
boss batch-greet "golang" --city 杭州 --salary 20-30K --dry-run
# Then execute
boss batch-greet "golang" --city 杭州 --salary 20-30K -n 10 -y

Search → Detail pipeline (structured)

bash
# Search and extract securityId
SEC_ID=$(boss search "golang" --city 杭州 --json | jq -r '.data.jobList[0].securityId')
# Get full detail
boss detail "$SEC_ID" --json | jq '.data.jobInfo | {jobName, salaryDesc, skills}'

Daily job check workflow

bash
boss recommend --json | jq '.data.jobList | length'  # Check recommendations count
boss search "Python" --city 杭州 --json               # Search specific jobs
boss show 1                                            # View top result details
boss applied --json                                    # Check application status
boss interviews --json                                 # Check interview invitations
boss chat --json                                       # Check messages
boss history --json                                    # Review browsing history

Export pipeline

bash
boss export "golang" --city 杭州 --salary 20-30K -n 50 -o jobs.csv
boss export "Python" -n 100 --format json -o jobs.json

Profile check

bash
boss me --json | jq '.data | {name, age, degreeCategory}'

Error Codes

Structured error codes returned in the error.code field (see SCHEMA.md):

  • not_authenticated — cookies expired or missing
  • rate_limited — too many requests (auto-cooldown built-in)
  • invalid_params — missing or invalid parameters
  • api_error — upstream API error
  • unknown_error — unexpected error

Limitations

  • No message sending — cannot send chat messages (MQTT/Protobuf required)
  • No resume editing — cannot edit resume from CLI
  • No company search — company pages return HTML (need zp_stoken)
  • Single account — one set of cookies at a time
  • Rate limited — batch-greet has built-in 1.5s delay between greetings

Anti-Detection Notes for Agents

  • Do NOT parallelize requests — built-in Gaussian jitter delays exist for account safety
  • Rate-limit auto-recovery: if code=9 occurs, client auto-cools-down with increasing delays (10s→20s→40s→60s) and retries once
  • Use -v flag for debugging: boss -v search "Python" shows request timing
  • Batch greet limit: recommend ≤ 10 greetings per session to avoid detection
  • Cookies auto-refresh: if ≥ 7 days old, boss-cli auto-tries browser extraction
  • Re-login if __zp_stoken__ expires: run boss logout && boss login

Safety Notes

  • Do not ask users to share raw cookie values in chat logs.
  • Prefer local browser cookie extraction over manual secret copy/paste.
  • If auth fails, ask the user to re-login via boss login.
  • Agent should treat cookie values as secrets (do not echo to stdout).
  • Built-in rate-limit delay protects accounts; do not bypass it.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Boss Cli AI skill do?

Use boss-cli for ALL BOSS 直聘 operations — searching jobs, viewing recommendations, managing applications, chatting with recruiters, and batch greeting. Invoke whenever the user requests any job search or recruitment platform interaction on BOSS 直聘.

Why use Boss Cli on TypingMind?

Because you install it once and use it with any model. Boss Cli is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Boss Cli in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jackwener/boss-cli/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Boss Cli?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Boss Cli?

As many as you like. As long as a model supports skills, you can use Boss Cli with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Boss Cli AI skill free?

It is published on GitHub by jackwener. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇