Personal-productivity CLI and MCP server for your own Toptal Talent profile.
⚠️ Unofficial — Personal Use Only
TTCtl is NOT affiliated with, endorsed by, or supported by Toptal LLC. It is a personal-productivity tool that interacts with Toptal Talent's web/mobile interfaces using your own session, exclusively for your own profile's data.
This tool is built for fair use and shared in case it's useful to other Toptal talents who want similar tooling for their own profiles. It is NOT to be used for:
- Spam or unsolicited outreach to recruiters / clients
- Mass automation of job applications, profile updates, or messaging
- Engagement-signal manipulation, application bombing, recruiter scraping
- Operating against profiles that aren't your own
- Any behavior that violates Toptal's Terms of Service or burdens the platform
If you encounter misuse of TTCtl, please see Abuse reporting in SECURITY.md.
Architectural friction in the codebase (sequential rate limits, single-credential design, no batch parallelism on automation-prone endpoints) is intentional. Don't remove it.
"Toptal" is a trademark of Toptal LLC. The name appears in this project's description as nominative fair use only — TTCtl is not a Toptal brand.
What It Does
TTCtl gives you (and your AI assistants, via MCP) programmatic access to your own Toptal Talent profile:
- Profile — view and update your talent profile (basic info, skills, employment, education, certifications, industries, portfolio, visas, resume, external links, reviews, photo)
- Applications — review your activity items (applications, availability requests, interviews, engagement signals); per-status-group counts via
applications stats; confirm / reject open Interest Requests viaapplications confirm/applications reject; fetch interview detail (interviewer with TopChat thread handle, client-side contact, scheduled slot, agenda link, prep-guide ref) viaapplications interview show <id>; read your interview prep notes viaapplications interview notes show <jobId>; fetch availability-request detail (status, kind, recruiter Fixed rate, comment, lifecycle timestamps, job) viaapplications availability-request show <id> - Engagements — view current and past engagements; manage engagement breaks; per-status counts via
engagements stats - Jobs — browse opportunities (incl. the algorithmic
jobs recommendedfeed, the per-jobjobs match-qualitymatch-score breakdown, and the per-jobjobs rate-insightrate-intelligence panel); manage saved / viewed / not-interested signals; configure search subscription; direct-apply viajobs apply <id> --consent(legal-compliance gate is mandatory). Add--suggest-answersto fetch your own historical answers to similar prior questions as advisory autocomplete suggestions (opt-in, off the critical apply path; failures degrade gracefully). The MCP toolttctl_jobs_apply_similar_answersexposes the same surface to agents. - Timesheets — list, view, update, and submit timesheet billing cycles
- Availability — view and update working hours and allocated weekly hours
- Contracts — view talent-level contracts (Toptal Direct, MSA, etc.)
- Payments — view payout history, aggregate payment totals (
payments summary), and payment methods; show current hourly rate viapayments rate current(lightweight) or the unifiedpayments rate showprojection; submit rate-change requests - Surveys — list pending surveys, submit structured answers, and add free-text feedback on post-interview / NPS prompts; submissions and feedback are irreversible and consent-gated
- Auth — bootstrap config, sign in, check status, sign out
Surfaces are gated to read-heavy / personal use. Operations that would enable mass automation against the platform are deliberately not exposed.
Out of scope
The following Toptal Talent surfaces are out of scope by design — they enable abuse (mass-automation or spam vectors), require third-party SDKs TTCtl doesn't depend on, target client-onboarding rather than the talent-side workflow, belong to staff- or sourcing-side workflows, or are one-time / mobile-only UI affordances with no recurring CLI value:
- Notification preferences —
UpdateJobAlertSettings,UpdateSmsNotificationsSettings,UpdateTimesheetReminderSettings,UpdateNotificationSetting(abuse-prevention — silencing alerts is a precursor to other abuse) - Community / Slack interaction — events, channels, messages, RSVP (third-party-SDK — community participation is human-side, not CLI-side)
- Referral flow — send referral, claim reward, track referrer (abuse-prevention — programmatic referral generation is a spam vector)
- Become-client / consultations / coaching / gigs — buyer-side workflows (client-onboarding — not talent-side profile management)
- Hire-me-page publishing — public marketing page (one-time-action — not recurring profile state)
- Video pitches / Zendesk integration — Ziggeo/CameraTag- and Zendesk-backed surfaces (third-party-SDK — not part of the GraphQL surface TTCtl targets)
- TopChat messaging surface — messages and file downloads remain out of scope; only the per-interviewer discovery handle is surfaced via
applications interview show(full surface tracked in #23) - Mobile-only widgets — Story, MobileTopTip, MarketCondition (mobile-only-UI — no CLI equivalent value)
- Quizzes / questionnaires — onboarding-terminal forms (one-time-action — not recurring profile state)
- Staff-side workflows —
SEND_CONTRACTS, testimonial publishing, snapshot history (staff-side — Toptal-staff surfaces, not talent-side) - Talent-signal sourcing —
CreateTalentSignal,GetTalentSignalSetup(sourcing-side — recruiter / staff identifying talent, not talent-side)
Note: The
scheduler.toptal.comsurface (interview scheduling) is currently absent rather than out by design — deferred until reverse-engineering research closes.
See What It Does above for the positive scope.
Prerequisites
- Node.js >= 22.19.0
- A Toptal Talent profile (you must be a Toptal talent to use this — it has no value to anyone else)
- Recommended: 1Password CLI (
op) for credential resolution
Supported platforms
TTCtl uses node-wreq for Chrome
TLS-fingerprint impersonation on the Cloudflare-protected surfaces (profile
editing). That transport ships as a prebuilt native binary, available for:
| OS | Architecture | libc | Supported |
|---|---|---|---|
| macOS | x64 (Intel) | — | ✅ |
| macOS | arm64 (Apple Silicon) | — | ✅ |
| Linux | x64 | glibc | ✅ |
| Linux | x64 | musl (Alpine) | ✅ |
| Linux | arm64 | glibc | ✅ |
| Linux | arm64 | musl (Alpine) | ❌ not yet |
| Windows | x64 | — | ✅ |
| Windows | arm64 (Windows on ARM) | — | ❌ not yet |
On an unsupported platform, npm install -g ttctl still succeeds (the
native binary is an optional dependency) and mobile-gateway commands keep
working — but any Cloudflare-protected command (anything that edits your
profile) fails with a clear NATIVE_MODULE_UNAVAILABLE error naming your
platform and this supported set. If you need one of the two not-yet-supported
targets, please open an issue.
Installation
npm install -g ttctl
Or run directly with npx:
npx ttctl --help
Hardened install (recommended)
For maximum supply-chain safety, install with postinstall hooks disabled:
npm install -g --ignore-scripts ttctl
--ignore-scripts blocks preinstall / postinstall / prepare hooks
across the entire dependency tree at install time. This prevents a
compromised transitive dep (PhantomRaven, Shai-Hulud, etc.) from
executing code on your machine during install — closing the
most-exploited supply-chain attack vector against package-manager users.
TTCtl itself ships no install-time hooks. Disabling them is purely a defense against malicious behavior in dependencies you don't directly control. See SECURITY § User-install supply-chain hardening.
Quick Start
# 1. Install
npm install -g ttctl
# 2. Bootstrap a config interactively (recommended)
# Walks you through Form A (1Password reference; vault + item picker
# when the `op` CLI is installed) or Form B (literal credentials,
# explicit warning). Output: ~/.ttctl.yaml at mode 0600.
ttctl auth init
# 3. Sign in (captures the bearer back into ~/.ttctl.yaml under auth.token)
ttctl auth signin
# 4. Verify
ttctl auth status
# 5. View your profile
ttctl profile show
ttctl auth initscaffolds a fresh~/.ttctl.yamlinteractively. Choose Form A (1Password reference, recommended) or Form B (literal credentials, discouraged — guarded by an explicit warning). On Form A with theopCLI installed, a vault picker and a LOGIN-category item picker run. Withoutopor on JSON-shape failure, the prompt falls back to a freeformop://VAULT/ITEMreference. The output file is written atomically at mode0600and refuses to overwrite an existing file unless--forceis passed. The command is interactive only — pipe stdin or a non-TTY context exits non-zero with a clear message.
ttctl auth signinruns theEmailPasswordSignInGraphQL mutation, captures the session bearer, and writes it BACK into the same~/.ttctl.yamlfile underauth.token(atomic write; comments preserved; mode0600). All subsequent commands replay it asAuthorization: Token token=<X>on every GraphQL request. TheopCLI is invoked only at signin time to resolve your credentials. There is no separate token file — your config and your live session live in one YAML.
Hand-authoring the config also works (drop a YAML file at
~/.ttctl.yaml,chmod 600); see the Configuration section below for the four validauthshapes.ttctl auth initis the recommended starting point.
Configuration
TTCtl uses a single config file — no profiles. The config-file path is resolved deterministically (highest precedence wins):
--config <path>flag — explicit override (per-invocation).TTCTL_CONFIG_FILEenv var — process-scoped (CI, direnv).~/.ttctl.yaml— POSIX home dotfile (only fallback).
XDG paths ($XDG_CONFIG_HOME/ttctl/config.yaml, ~/.config/ttctl/config.yaml) and the current-working-directory ./.ttctl.yaml are not auto-discovered. To use a project-local config, point TTCTL_CONFIG_FILE at it via direnv:
# .envrc in your project root (requires `direnv` installed and `direnv allow` run)
export TTCTL_CONFIG_FILE="$PWD/.ttctl.yaml"
Sync-root exclusion
TTCtl refuses to persist the captured bearer when the config file lives under a known cloud-sync prefix:
| Path prefix | Service |
|---|---|
~/Library/Mobile Documents/ |
macOS iCloud Drive |
~/Dropbox/ |
Dropbox |
~/iCloud Drive/ |
iCloud (alt name) |
~/OneDrive/ |
OneDrive |
~/Google Drive/ |
Google Drive |
~/Box/, ~/Box Sync/ |
Box |
Persisting a bearer under any of these would silently replicate it off-host. If you need a project-local config, keep it OUTSIDE these directories and route via TTCTL_CONFIG_FILE (direnv recipe above). The sibling-name guard prevents false positives — ~/DropboxOther/ is fine.
auth — four valid lifecycle states
The auth block is structured with optional credentials and token fields. Four valid shapes correspond to the lifecycle states:
Form A — credentials via 1Password reference (RECOMMENDED, signin populates auth.token)
# Single 1Password account (or relying on `OP_ACCOUNT` env / op default)
auth:
credentials: "op://Personal/ttctl"
# Multiple 1Password accounts — pin one explicitly
auth:
credentials: "op://my-account/Personal/ttctl"
TTCtl parses op://[ACCOUNT/]VAULT/ITEM and runs op item get ITEM --vault VAULT [--account ACCOUNT] --format json, then resolves credentials by matching fields with purpose: USERNAME and purpose: PASSWORD — the canonical semantic identifiers 1Password sets automatically for LOGIN-category items (including browser-autosaved logins where the field labels are the HTML form input names like user[email]).
The optional ACCOUNT segment is required only when you have multiple op accounts configured (op account list); single-account setups can omit it. ACCOUNT may be the account UUID, the shorthand set via op account add, or the sign-in email — TTCtl forwards the value verbatim to op for validation.
Form A2 — per-field 1Password references (signin populates auth.token)
# username and password each resolve from their own field-level op:// ref
auth:
credentials:
username: "op://Personal/ttctl/username"
password: "op://Personal/ttctl/password"
# account prefix works on field refs too (parity with Form A)
auth:
credentials:
username: "op://my-account/Personal/ttctl/username"
password: "op://my-account/Personal/ttctl/password"
When credentials is an object of two op:// field references, TTCtl runs op read --no-newline [--account ACCOUNT] op://VAULT/ITEM/FIELD once per field. op read resolves the field by id or label, so the canonical username / password field ids work even on browser-autosaved LOGIN items. The optional leading ACCOUNT is split off and forwarded as --account, for parity with Form A.
A 4-segment field ref is always read as account-prefixed (
op://account/vault/item/field). 1Password sectioned references (op://vault/item/section/field, also 4 segments) are therefore not supported — the section would be mis-taken as the account. Store the credential field at the item top level (LOGIN items do this by default).
Routing is by container shape, never by segment count (op://a/b/c is account/vault/item as a bare string but vault/item/field as an object value). A bare-string credentials value is always single-item (Form A), item-level only. An object value is per-field (this form) when its values are op:// refs, or literal (Form B) when they are an email/password pair.
Form B — literal credentials (dev/testing only)
auth:
credentials:
username: "you@example.com" # value is your Toptal email; field name matches 1P USERNAME purpose
password: "hunter2"
Discouraged for daily use. Plaintext credentials in config files leak through backups, sync clients, and accidental commits. Form A is what you want.
Item-level (Form A) vs per-field (Form A2). Form A reads both USERNAME and PASSWORD from one LOGIN item; Form A2 points each credential at its own field. A bare-string reference with a
/fieldsuffix is rejected — per-field requires the object shape (one string cannot carry two references).
Form C — token only (out-of-band bootstrap)
auth:
token: "user_<24hex>_<20alnum>"
The bearer is supplied directly. ttctl auth signin is not applicable (refused with NO_CREDENTIALS). Useful for the E2E sandbox and for deployments that bootstrap a token via a side-channel.
Form D — credentials + token (post-signin Form A or B)
auth:
credentials: "op://Personal/ttctl"
token: "user_<24hex>_<20alnum>"
The on-disk shape after a successful ttctl auth signin against a Form A or B config. Both fields coexist; signout removes the token field (returning to Form A or B) without touching credentials.
Pagination
TTCtl exposes the wire's actual pagination model per service. The Toptal Talent platform uses multiple coexisting pagination idioms — there is no single uniform shape — and the wire rejects requests that mix idioms (PR #383 empirically proved this: an attempt to add offset to a limit-only field was rejected with HTTP 400 across 8 E2E test failures).
Rather than invent a uniform translation layer that would lie about what the wire accepts, ttctl flags name what the wire arg names; their types match what the wire arg accepts. This keeps AI / script callers honest: a flag name maps 1:1 to a wire argument (with one documented translation — see row 2).
| Service | CLI flags | MCP keys | Wire idiom |
|---|---|---|---|
jobs list, applications list, engagements list |
--page / --per-page |
{page, perPage} |
Offset-list (page, pageSize) |
payments payouts list |
--page / --per-page (translated) |
{page, perPage} (translated) |
Offset-pagination wrapper (offsetPagination: {offset, limit}) |
timesheet pending (post-#374 re-spike) |
--limit |
{limit} |
Limit-only wrapper (pagination: {limit}) |
| (future engagements-payments) | --limit + --after <id> |
{limit, after} |
Limit+forward-cursor wrapper (pagination: {limit, after}) |
| (future performed-actions) | --before / --after / --limit |
{before, after, limit} |
Bare bidirectional cursor (before, after, limit) |
Heterogeneity is the deliberate Sage move: a uniform --cursor <token> layer would forfeit scriptability for offset services (no integer-composable pages); verb decomposition (show-all vs list) would double the command tree without buying disambiguation the flag types already provide. Per-service --help is the canonical recovery surface for the specific flag shape.
The 5-row grammar is locked in ADR-007 — Pagination flag grammar.
Applying to jobs
TTCtl can apply to a job opportunity directly via ttctl jobs apply <job-id>. This is a destructive wire operation — it creates a JobApplication record on Toptal's side and there is no withdraw operation in TTCtl (see ADR-008 § What We're NOT Solving). Prefer --dry-run to preview the wire payload first.
Consent gate
--consent is required — it represents your explicit acceptance of Toptal's apply terms (a legal-compliance attestation). The flag has no default; auto-filling on your behalf is forbidden per ADR-008 § Decision Part 4. Absence raises CONSENT_REQUIRED with no wire call issued.
ttctl jobs apply <job-id> --consent
Preview the question inventory
Most jobs require answering matcher / expertise questions before the apply mutation accepts the request. --show-questions fetches the inventory WITHOUT issuing the apply mut