AGENT SKILL

nodemaven-sdk

Write code with the official NodeMaven SDKs - `nodemaven` for Python (PyPI), Rust (crates.io) and Go (github.com/nodemaven/nodemaven-go). Build validated proxy usernames and URLs, sticky sessions, per-worker session pools, check a proxy with one CONNECT, and call the account API client. Use when the user's project is in Python, Rust or Go and needs NodeMaven proxies or account data, or asks which SDK call does something.

License 许可
MIT
所属仓库
bg-szy/TOP-SKILLS
最近更新
2026-11-15
Stars
★ 6
Forks
0

01 前言 Front Matter

name
nodemaven-sdk
license
MIT
description
Write code with the official NodeMaven SDKs - `nodemaven` for Python (PyPI), Rust (crates.io) and Go (github.com/nodemaven/nodemaven-go). Build validated proxy usernames and URLs, sticky sessions, per-worker session pools, check a proxy with one CONNECT, and call the account API client. Use when the user's project is in Python, Rust or Go and needs NodeMaven proxies or account data, or asks which SDK call does something.

02 资源文件 1

03 SKILL.md 正文

NodeMaven SDKs

Three SDKs with the same behaviour. Each builds the proxy username, refuses input the gateway would silently drop (an unknown parameter name, a - inside a value, whitespace, an empty value), and hands back a URL or a browser proxy object for the HTTP client the project already uses. Building a proxy opens no socket; only check and the account API client touch the network.

Credentials come from NODEMAVEN_LOGIN and NODEMAVEN_PASSWORD (proxy username and password from Proxy Setup in the dashboard) when not passed in. The account API client reads NODEMAVEN_APIKEY, a different secret.

Parameters and gateway rules are in the nodemaven-proxy skill. The names accepted are country, region, city, isp, type, sid, ttl, filter, speed, ipv4. country, region, city, isp and type are folded for you ("District of Columbia" becomes district_of_columbia); the others are sent as given, so pass them in lower case.

Python

pip install nodemaven               # add [requests] if the code uses requests
from nodemaven import Proxy

proxy = Proxy(country="us", filter="medium")       # credentials from the environment

proxy.url()          # http://user:pass@gate.nodemaven.com:8080, encoded
proxy.requests()     # {"http": ..., "https": ...}
proxy.httpx()        # {"http://": ..., "https://": ...}
proxy.playwright()   # {"server", "username", "password"}
proxy.username       # the username alone

held = proxy.session("order4417")                  # sticky; no "-" in the id
germany = proxy.replace(country="de")              # new object, new exit
pool = list(proxy.sessions(50))                    # 50 random ids, one per worker

print(proxy.check())                               # one CONNECT, status and exit IP

Errors: ParamError (bad name or value, raised before sending), CredentialsError, CheckError (no answer at all), ApiError and its subclasses AuthError, NotFoundError, RateLimitError. All inherit NodeMavenError. check() returns a refusal as a value, not an exception.

Rust

cargo add nodemaven
use nodemaven::Proxy;

let proxy = Proxy::builder()
    .param("country", "us")
    .param("filter", "medium")
    .build()?;                                     // credentials from the environment

let client = reqwest::Client::builder()
    .proxy(reqwest::Proxy::all(proxy.url())?)
    .build()?;

let held = proxy.session("order4417")?;
let germany = proxy.with_param("country", "de")?;
let plain = proxy.without_param("filter")?;
let pool = proxy.sessions(50)?;
println!("{}", proxy.check()?);                    // a refusal is Ok(Check), not Err

proxy.browser() gives server, username and password unencoded, for a browser driver.

Go

go get github.com/nodemaven/nodemaven-go
proxy, err := nodemaven.New(
	nodemaven.WithParam("country", "us"),
	nodemaven.WithParam("sid", "order4417"),
) // credentials from NODEMAVEN_LOGIN and NODEMAVEN_PASSWORD
if err != nil {
	log.Fatal(err)
}
client := &http.Client{Transport: &http.Transport{Proxy: proxy.HTTPProxy()}}

germany, err := proxy.With("country", "de")
plain, err := proxy.Without("filter")
pool, err := proxy.Sessions(50)                    // []*nodemaven.Proxy, one exit each
check, err := proxy.Check(ctx)                     // err only when there was no answer

proxy.Browser() returns the three fields for Playwright, chromedp or Rod. Errors are tested with errors.Is against ErrParam, ErrCredentials, ErrCheck, ErrAPI, ErrAuth, ErrNotFound, ErrRateLimit. Printing a Proxy shows the password as ***.

Account API client

The same in all three: Client (Python), Client::builder().build()? (Rust), nodemaven.NewClient() (Go). Methods cover the account, location catalogue, statistics, sub-users and whitelisted IPs - see the nodemaven-account-api skill for what each endpoint returns and its quirks.

from nodemaven import Client

client = Client()                                  # NODEMAVEN_APIKEY
problems = client.validate(proxy)                  # country/city checked against the catalogue
for city in client.iterate(client.cities(country__code="us")):
    ...

me() and the sub-user calls return proxy passwords in clear text. Never print, log or paste their results; pick the fields you need.

Picking a call

the user wants Python Rust Go
a proxy URL proxy.url() proxy.url() proxy.URL()
the same IP for a flow proxy.session(id) proxy.session(id)? proxy.Session(id)
N workers, N exits proxy.sessions(n) proxy.sessions(n)? proxy.Sessions(n)
does it connect, where does it exit proxy.check() proxy.check()? proxy.Check(ctx)
traffic left client.me()["data"] client.me()?["data"] client.Me(ctx)

Docs: Python, Rust, Go.

04 同仓库更多 Skills

bg-szy
bg-szy/TOP-SKILLS

serpmaven

Scrape Google search results (SERP) to JSON with SERP Maven (serpmaven) - a real Chrome browser on a residential proxy with sticky sessions. Run it as a CLI, a Python library, a local HTTP search API (`serve`), an MCP server or a Docker image; set the proxy login, workers, pages and cost tracking. Use when the user wants Google results, rank tracking, a self-hosted SERP API, or live Google search for an AI agent.

★ 6
bg-szy
bg-szy/TOP-SKILLS

revnu-landing-page-audit

Find out why a landing page isn't turning visitors into signups, demos or sales. Audits one page against what the ad, post or search that sends people there promised, then checks the first screen, proof, call to action, friction and mobile. Returns at most 7 prioritized fixes, plus what is fine and what could not be checked; rewrites specific lines and fixes the page in the repo when asked. Never promises a conversion lift. Works without a Revnu account. Use when the user says or asks: "audit my landing page", "why isn't this page converting", "review my homepage", "my ads get clicks but no signups", "people bounce from the pricing page", "CRO review", "improve conversion rate", "is my hero section clear", "roast my landing page", "rewrite my headline", "what's wrong with this page", "landing page feedback", "make the signup page convert better". Not for SEO or AI-search audits, page speed engineering on its own, or building a new page from scratch.

★ 6
bg-szy
bg-szy/TOP-SKILLS

revnu-growth-context

Write down once who buys, what they're stuck on, what it costs, what proof you have and what you've already tried, so every growth task starts from facts instead of a questionnaire. Creates or updates .agents/revnu-growth.md from the repo, the live site and the user, and imports an existing product-marketing.md. Use when the user says "set up our marketing context", "who is our ideal customer", "write our ICP", "describe the product for marketing", "positioning doc", "what's our brand voice", "remember this about our customers", "log what we tried", "what have we learned from marketing", "we changed pricing, update the context", "update our growth notes", "summarize the business for the agent", "import my product-marketing.md", "start a growth doc", or before a first marketing, SEO, outreach or launch task when no context file exists. Works without a Revnu account.

★ 6
bg-szy
bg-szy/TOP-SKILLS

revnu-get-listed

Get onto the third-party pages AI answers and search cite when buyers ask for the best tool in your category: "best X" roundups, directories, review sites, GitHub awesome lists, community threads and comparison pages. Finds which ones are cited, ranks them by fit and effort, and drafts each submission, PR or pitch by the target's own rules. Use when the user says "get us listed", "which directories should we submit to", "how do we get into best-of lists", "why does ChatGPT recommend competitors and not us", "get mentioned in AI answers", "submit to awesome lists", "get on G2", "where are our competitors listed", "pitch listicle authors", "find backlink opportunities", "launch directories", "get into roundups", "Product Hunt alternatives", "where should we be listed", "get cited by Perplexity". Never submits, pays or posts without a yes. Works without a Revnu account.

★ 6
bg-szy
bg-szy/TOP-SKILLS

revnu-ai-readiness-audit

Audit whether your website gives ChatGPT, Perplexity, Claude, Gemini and Google's AI Overviews something worth quoting, and fix the pages that don't. Use when the user says or asks "is my site ready for AI search", "audit my site for AI answers", "AEO audit", "GEO audit", "why doesn't ChatGPT quote our pricing", "make our pages citable by AI", "do I need llms.txt", "does schema help with ChatGPT", "check our structured data", "is our content visible without JavaScript", "AI SEO audit", "optimize our homepage for AI answers", "LLM SEO check", "why does AI get our product wrong", "fix our site for AI Overviews". Checks fetchability and indexability, answers in the raw HTML, entity facts, schema (including JS-injected markup), headings, dates and llms.txt, then gives at most 10 prioritised fixes and edits the repo when asked. Works without a Revnu account.

★ 6
bg-szy
bg-szy/TOP-SKILLS

proxy-troubleshooting

Diagnose residential proxy failures, with NodeMaven's gateway as the reference - 407 with correct credentials, 406, 410, 500, a connection that hangs, ERR_TUNNEL_CONNECTION_FAILED in a browser, Playwright or Puppeteer ignoring proxy credentials, a sticky session that changes IP, geo-targeting that is silently ignored, passwords with special characters, and unexpected traffic from headless Chrome. Use when a proxy connection fails, returns the wrong location, or costs more traffic than expected.

★ 6