AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Apiify

skill-sabirmgd-apiify-skills-apiify · by sabirmgd

Turn a website, logged-in workflow, search page, feed, or browser task into a deterministic API script with JSON/CSV outputs. Use when the user asks to apiify/appify a site, reverse engineer web APIs, capture browser network calls, create reusable scrapers, or package a browser workflow as a callable endpoint/script.

No reviews yet
0 installs
21 views
0.0% view→install

Install

$ agentstack add skill-sabirmgd-apiify-skills-apiify

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-sabirmgd-apiify-skills-apiify)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Apiify? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Apiify

You are converting a website workflow into a durable API artifact. The product is not a browser recording. The product is a readable, deterministic script plus metadata and verified output.

First Run

Before discovery, check dependencies from this skill directory:

python3 scripts/doctor.py

If dependencies are missing and the user has asked for implementation, install them:

python3 scripts/bootstrap.py --user
python3 scripts/doctor.py

Do not paste user passwords, cookies, bearer tokens, proxy URLs, or session IDs into chat or command history. Prefer headed browser login, browser state files, local .env files, or one-time throwaway credentials.

The standard public harness is agent-browser@0.15.1, installed by scripts/bootstrap.py and verified by scripts/doctor.py. Do not assume ActionHub, ahbrowser, Patchright, or Playwright are already present on the user's machine. If a generated artifact needs a browser, use the packaged harness unless the artifact explicitly owns and documents another dependency.

Required Clarifications

For each target, lock these before building:

  • Source: exact website/page/search/feed/workflow.
  • Inputs: query, URL, account, date range, limit, pagination, sort.
  • Outputs: exact fields and formats. Default to JSON plus CSV.
  • Auth: public, browser login once, env credentials, token, or user-supplied cookie file.
  • Verification: one real query/run and expected minimum result count.

Keep questions minimal. If a reasonable default exists, choose it and continue.

Runtime Tiers

Always climb down toward cheaper deterministic execution:

  1. Public documented API.
  2. Private XHR/GraphQL/API replay with cookies/headers.
  3. In-browser fetch using authenticated session state.
  4. Browser DOM scrape.

Tier 4 is acceptable only when lower tiers fail. Mark it as drift-prone in metadata.

Browser Harness

Use agent-browser as the portable browser harness:

agent-browser --session "" open ""
agent-browser --session "" snapshot -i --compact
agent-browser --session "" network requests --filter "api|json|graphql|search|feed|posts|data"
agent-browser --session "" cookies get
agent-browser --session "" screenshot "/tmp/.png"
agent-browser --session "" close

Residential Proxy and Challenge Handling

Use proxy support when the site is geo-sensitive, rate-limited, blocks plain HTTP clients, or shows Cloudflare/security challenges in new browser profiles. Keep proxy configuration optional and secret-safe:

  • Add a script flag such as --proxy, defaulting to RESIDENTIAL_PROXY_URL.
  • Pass the proxy to agent-browser only when supplied.
  • Add a TLS option such as --ignore-https-errors when an SSL-inspection proxy requires a custom CA that is not installed in the browser profile.
  • Redact full proxy URLs from logs, metadata, samples, and final reports.
  • Verify fresh and reused browser sessions separately.

Do not claim a residential proxy bypasses a challenge unless a reset browser session with that proxy actually returns data. If a fresh proxy session still shows a managed challenge, report that clearly and package the artifact as browser-backed with first-run verification or persistent-session requirements.

Use browser discovery to answer two questions:

  • What interactable controls does the user workflow require?
  • Which network calls can replace the browser at runtime?

If the browser route is needed for login, save/reuse browser state or cookies. The final script should still prefer HTTP replay after login.

API Research Rules

Research the cheapest path first:

  • Search for official API/docs/OpenAPI schemas.
  • Inspect HTML for embedded state, config, app IDs, GraphQL operation names, and API base URLs.
  • Capture real browser network traffic only after public API research is insufficient.
  • Preserve exact headers and request payloads needed for replay, but redact secrets.

Do not overfit to one successful response. Verify pagination, auth expiry, empty results, rate limits, and changed query terms when feasible.

Artifact Contract

Create artifacts under:

apiified//
  script.py
  metadata.json
  README.md
  sample-output.redacted.json

The script must:

  • expose --help;
  • accept explicit inputs instead of hardcoded query strings;
  • print JSON to stdout by default;
  • support --output for JSON when useful;
  • support CSV either natively or through scripts/export_csv.py;
  • fail loudly with actionable errors;
  • avoid logging secrets.

Validate metadata with:

python3 scripts/metadata_schema.py apiified//metadata.json

Export CSV from JSON with:

python3 scripts/export_csv.py apiified//output.json --output apiified//output.csv

See references/artifact-contract.md.

Metadata Requirements

metadata.json must include:

  • name
  • source
  • approach
  • runtime_tier
  • description
  • inputs
  • outputs
  • auth
  • verification_command
  • verification_result
  • known_risks

For private APIs, include endpoint paths but redact tokens/cookies.

Verification

Before reporting done:

  1. Run python3 -m py_compile apiified//script.py.
  2. Run python3 apiified//script.py --help.
  3. Run the real verification command.
  4. Save a redacted sample output.
  5. Validate metadata.
  6. Export CSV if requested or if the output is tabular.

Report the exact files changed, the command that proved it worked, and remaining risks.

Quality Bar

Good Apiify output is:

  • deterministic after discovery;
  • readable enough for a developer to patch;
  • explicit about auth and drift risks;
  • tested with one real query;
  • reusable by Claude Code, Codex, or a human shell.

Bad output is:

  • a prompt-only browser macro;
  • a script that requires the original agent session to run;
  • a script with credentials in source;
  • unverified code that only compiles;
  • metadata that hides the runtime tier or risk.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.