Kuaishou Genius Actual
/install kuaishou-genius-actual
Kuaishou Genius Actual API Skill
Overview
This skill helps an agent quickly move from Genius 页面操作 to 可复用的接口调用地图与脚本化验证 for the management-yearly/actual workflow.
Use it when the goal is to identify core backend endpoints, validate request dependencies, and build repeatable checks for Genius Actual data retrieval.
Quick Start
- Ensure login/session is valid for
genius.corp.kuaishou.com. - Capture network around page reload and key filter actions.
- Focus on
/budget-portal/api/*requests; ignore static assets and telemetry unless debugging auth/risk. - Run script-based endpoint probe/client:
cd scripts
bash genius_api_probe.sh \
--base-url "https://genius.corp.kuaishou.com" \
--cookie "accessproxy_session=\x3CYOUR_COOKIE>" \
--year 2026
python3 genius_client.py \
--cookie "accessproxy_session=\x3CYOUR_COOKIE>" \
workflow --year 2026
- Output a concise report with:
- reachable endpoints
- required params/payload hints
- dependency order
- known blockers/limitations
Supported Capabilities
-
Core API extraction
- Identify actual business endpoints used by
management-yearly/actual.
- Identify actual business endpoints used by
-
API map generation
- Build endpoint catalog: method, path, purpose, required params/body.
-
Workflow reconstruction
- Reconstruct request order from page load to ledger detail fetch.
-
Scripted probing
- Use
scripts/genius_api_probe.shto quickly verify endpoint reachability and baseline responses.
- Use
-
Troubleshooting focus
- Distinguish business API failures from:
- SSO/session expiration
- fingerprint/risk controls
- telemetry noise
- Distinguish business API failures from:
API Map (Core Business)
Base domain:
https://genius.corp.kuaishou.com
Core endpoints observed in Actual flow:
-
GET /budget-portal/api/authority/user- Purpose: fetch user auth context.
-
GET /budget-portal/api/authority/org/tree- Purpose: org tree for selectors/permissions scope.
-
GET /budget-portal/api/horse-race-lamp/query?tabCode=management-yearly%2Factual- Purpose: tab-level notification/meta.
-
GET /budget-portal/api/description/act-latest-update-date- Purpose: latest actual update metadata.
-
GET /budget-portal/api/annual-actual/versions?year=\x3CYEAR>- Purpose: available versions for selected year.
-
POST /budget-portal/api/actual-ledger/detail- Purpose: ledger detail dataset.
- Notes: requires JSON body shaped by current filters.
-
POST /budget-portal/api/actual-ledger/products- Purpose: product/metric dimension data for current view.
- Notes: requires JSON body shaped by current filters.
Non-core but commonly seen (usually ignore unless diagnosing):
log-sdk.ksapisrv.com/*telemetrymobile-device-info.corp.kuaishou.com/*device/riskh5-fingerprint.corp.kuaishou.com/*fingerprint
Workflow
1) Session check
- Confirm not redirected to SSO login.
- Verify
accessproxy_sessionworks forgenius.corp.kuaishou.com.
2) Capture
- Reload target page:
https://genius.corp.kuaishou.com/management-yearly/actual
- Capture all XHR/fetch.
3) Filter to business APIs
- Keep only
/budget-portal/api/requests. - Group by: authority → metadata → versions → ledger POSTs.
4) Rebuild minimal call chain
- Start with GET chain (auth/org/version).
- Then reproduce POST ledger calls with realistic payload.
5) Validate by script
- Run
genius_api_probe.shwith cookie + year. - Record HTTP code + brief body snippet.
6) Report
Always output:
- API list (method/path/purpose)
- call order
- required parameters/body fields (known/unknown)
- current blockers and next action
Script Usage
Script paths:
scripts/genius_api_probe.shscripts/genius_client.py
What they do:
genius_api_probe.sh: probes key GET APIs and sends placeholder POSTs for quick triagegenius_client.py: structured client for core APIs (single endpoint or full workflow), supports custom JSON payload files
Required inputs:
--base-url(defaulthttps://genius.corp.kuaishou.com)--cookie(must include validaccessproxy_session=...)
Optional:
--year(default2026)
Known Limitations
-
SSO/session coupling
- Without valid session cookie, requests fall back to SSO and API probing is invalid.
-
Risk/fingerprint controls
- Some environments may require device/fingerprint side requests; replay outside browser may fail.
-
POST body incompleteness
actual-ledger/detailandactual-ledger/productsneed accurate business payload fields from live capture.
-
Environment drift
- static bundle versions and backend schema may change; always re-capture when results diverge.
-
Permission scope
- org tree and ledger visibility depend on account permissions; data differences are expected across users.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install kuaishou-genius-actual - 安装完成后,直接呼叫该 Skill 的名称或使用
/kuaishou-genius-actual触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Kuaishou Genius Actual 是什么?
Use this skill whenever the user asks to analyze, verify, debug, reverse-engineer, or automate Kuaishou Genius「预算/预测/实际」页面 data flow (especially management-y... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 199 次。
如何安装 Kuaishou Genius Actual?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install kuaishou-genius-actual」即可一键安装,无需额外配置。
Kuaishou Genius Actual 是免费的吗?
是的,Kuaishou Genius Actual 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Kuaishou Genius Actual 支持哪些平台?
Kuaishou Genius Actual 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Kuaishou Genius Actual?
由 zhangpei03(@zhangpei03)开发并维护,当前版本 v1.0.0。