impit
Skill1 starsChanged 3 months agoMITView on GitHub
Build, review, debug, configure, or plan Apify Impit browser-impersonating HTTP clients with current docs. Use for impit, Impit.fetch, ImpitOptions, TLS/HTTP fingerprinting, Chrome/Firefox/OkHttp/iOS fingerprints, HTTP/3, proxies, cookieJar, tough-cookie, ignoreTlsErrors, Node/Python/Rust bindings, Crawlee ImpitHttpClient, and replacing got-scraping or plain fetch/axios when bot detection blocks non-browser TLS fingerprints.
In this repository81 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agents-mdSkill
- base-uiSkill
- better-authSkill
- brainstormSkill
- bullmqSkill
- bunSkill
- clickhouseSkill
- clone-to-tempSkill
- compound-uiSkill
- copywritingSkill
- create-durable-planSkill
- d3Skill
- date-fnsSkill
- decimal-jsSkill
- deduplicateSkill
- design-engineerSkill
- designSkill
- drizzle-ormSkill
- effectSkill
- elysia-architectureSkill
- elysiaSkill
- evlogSkill
- feedsmithSkill
- grokSkill
- handoffSkill
- heyapiSkill
- intlayerSkill
- jsdocSkill
- kafkaSkill
- kill-legacySkill
- legend-stateSkill
- loopSkill
- mantine-hooksSkill
- mobbinSkill
- motionSkill
- oxfmtSkill
- oxlintSkill
- permixSkill
- plain-languageSkill
- playwrightSkill
- react-boundariesSkill
- react-emailSkill
- reactSkill
- reorganizeSkill
- researchSkill
- schema-dtsSkill
- sentrySkill
- seoSkill
- setup-competitors-mdSkill
- setup-copywriting-mdSkill
- setup-icp-mdSkill
- setup-project-mdSkill
- simplify-layoutSkill
- storybookSkill
- subagentsSkill
- tailwindSkill
- tailwind-variantsSkill
- takumiSkill
- tanstack-chartsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when work touches Apify Impit: browser-impersonating HTTP requests via TLS + HTTP fingerprints, without running a real …
- Very specific: line 23
Prefer bun / bunx in command examples for Node work.
- Distinctive: line 25
Do not treat Impit as a headless browser — no page JS, DOM, or automation APIs.
- Distinctive: line 30
Prefer Impit when bot detection blocks non-browser clients and a full browser is unnecessary.
- Very specific: line 31
Default clients are stateless for cookies until you pass cookieJar (JS), cookie_jar/cookies (Python), or with_cookie_store (Rust).
- Distinctive: line 41
Prefer the repo's existing checks.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Impit
Use this skill when work touches Apify Impit: browser-impersonating HTTP requests via TLS + HTTP fingerprints, without running a real browser.
Workflow
- Inspect the local Impit surface before changing code:
- Language binding: Node
impit(npm), Pythonimpit(PyPI/conda), or Rust crate from git. - Package/native binary versions and platform (Node ≥ 20; platform-specific optional deps).
- Client lifetime: shared
Impit/AsyncClient/Impit::<Jar>vs one-shot clients. - Fingerprint choice: generic
chrome/firefoxvs versioned /okhttp/ios18. - Session needs: cookies, proxies, HTTP/3, redirects, default headers, timeouts.
- Language binding: Node
- Refresh docs when the user asks for latest fingerprints, option names, or binding differences. Start from source-map.md.
- For Node/TypeScript install,
ImpitOptions,fetch, responses, and errors, use nodejs.md. - For Python and Rust APIs, patched deps, and builder patterns, use python-rust.md.
- For fingerprints, HTTP/3 vs proxy constraints, cookies, headers precedence, multipart boundaries, and Crawlee
ImpitHttpClient, use fingerprints-ops.md. - Implement in the existing project style:
- Prefer
bun/bunxin command examples for Node work. - Reuse one client instance per impersonated identity (pool + optional cookie jar).
- Do not treat Impit as a headless browser — no page JS, DOM, or automation APIs.
- Prefer
Judgment
- Impit mimics TLS ClientHello and HTTP fingerprints (headers, HTTP/2 settings, pseudo-headers). Plain
fetch/axios/ undici fail TLS JA3-style checks; Impit addresses that layer. - Prefer Impit when bot detection blocks non-browser clients and a full browser is unnecessary. Prefer a real browser (Playwright/Puppeteer) when the site requires executed JavaScript or interactive flows.
- Default clients are stateless for cookies until you pass
cookieJar(JS),cookie_jar/cookies(Python), orwith_cookie_store(Rust). - HTTP/3 and proxies are mutually unsupported in current docs — do not enable both.
- Header precedence (case-insensitive): per-request headers > instance
headers> browser impersonation defaults. Empty-string values remove an impersonated header. - Generic
chrome/firefoxauto-pick a version; use versioned fingerprints when detection tracks outdated signatures. - One
Impitinstance = one user-agent identity sharing config, pool, and jar. Create separate instances for distinct identities. - Response bodies are single-consume (Fetch-compatible). Do not call
text()/json()/arrayBuffer()twice. - Respect site ToS, robots, rate limits, and applicable law. Use impersonation for legitimate integrations, scraping within policy, and testing — not for unauthorized access or abuse.
Verification
Prefer the repo's existing checks. For meaningful Impit work, include the relevant subset:
- Smoke request to a known endpoint; assert status and body parse once.
- Confirm negotiated protocol when
http3: true(response.http_versionin Python; inspect logs/headers where available). - Proxy path: HTTP/HTTPS/SOCKS without HTTP/3; fail closed if both are configured.
- Cookie round-trip when a jar is configured (set on first response, sent on second).
- Platform install: native optional dependency resolves on the target OS/arch (glibc vs musl on Linux).
- Typecheck Node consumers against
ImpitOptions/RequestInit/ error classes. - Crawlee: crawler runs with
ImpitHttpClientand expected fingerprint option.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

