creditkarma-fpx
Query Credit Karma (creditkarma.com) transactions from a shell with the fpx CLI (@fetchproxy/cli) instead of running the creditkarma-mcp server — capture the…
от chrischall2 345 установок в других каталогах
Установить creditkarma-fpx в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Credit Karma via fpx + curl (no MCP)
Credit Karma has no server-side login a script can drive — the only
credential is the CKAT/CKTRKID cookies a real signed-in browser session
already holds. There's also no bot wall on the API itself once you have
those cookies: creditkarma-mcp's own client.ts proves plain Node fetch
works fine against api.creditkarma.com/graphql and the refresh endpoint —
fetchproxy is only ever used for the one-time cookie capture, never as a
request path. So this skill is hybrid: fpx grabs the cookies once,
then plain curl does every read and refresh from then on.
This mirrors the one live endpoint creditkarma-mcp actually calls
(ck_sync_transactions → the GraphQL query in src/transaction.graphql).
The other ck_* tools (ck_list_transactions, ck_get_spending_by_category,
…) are local SQLite queries over already-synced data — there's no separate
remote endpoint to reproduce for those.
One-time setup
npm install -g @fetchproxy/cli # provides `fpx`
fpx profile add creditkarma --domain creditkarma.com
fpx profile declare creditkarma --cookie CKAT --cookie CKTRKID # widen scope to these cookies
fpx pair -p creditkarma # prints a pair code → approve in ContextMint Bridge
Requirements: the ContextMint Bridge browser extension installed
(releases; it is the
fetchproxy extension renamed, same maintainer — public source, verify a release
zip with shasum -a 256 -c <zip>.sha256), with an open
www.creditkarma.com tab you're signed into, and its Chrome Site access
allowing creditkarma.com. CKAT/CKTRKID are HttpOnly (invisible to page
JS) but fpx cookies reads them via the extension's chrome.cookies.get,
same as @fetchproxy/bootstrap does inside the MCP. Pairing persists across
invocations.
Capture the session (once per shell / once the token goes stale)
fpx cookies -p creditkarma
# {"CKAT":"<accessJWT>%3B<refreshJWT>","CKTRKID":"<value>"}
CKAT packs both JWTs joined by a literal %3B (URL-encoded ;). Split it:
COOKIES=$(fpx cookies -p creditkarma)
CKAT=$(jq -r '.CKAT' <<<"$COOKIES" | sed 's/%3B/;/')
CKTRKID=$(jq -r '.CKTRKID' <<<"$COOKIES")
ACCESS=${CKAT%%;*}
REFRESH=${CKAT#*;}
Core call: fetch a page of transactions
The gateway executes only safelisted operations, so you do not send a query
document — you send its sha256 hash. Sending the full document (even the
correct one) is rejected with HTTP 400 {"message":"No query found"}.
Two headers are mandatory: ck-client-name: prime_web — exactly that value,
since web is rejected — and a non-empty ck-client-version. Nothing else is:
no cookies, no Origin/Referer/User-Agent.
jq -n --arg h e84296c61147719ced605fbba7bb30ef847903dd07f3a4f7c2ea8d0db107338e \
'{extensions:{persistedQuery:{version:1,sha256Hash:$h}},
operationName:"GetTransactions",
variables:{input:{paginationInput:{afterCursor:null},
categoryInput:{categoryId:null,primeCategoryType:null},
datePeriodInput:{datePeriod:null},accountInput:{}}}}' > /tmp/ck-body.json
curl -s https://api.creditkarma.com/graphql -X POST \
-H "Authorization: Bearer $ACCESS" \
-H 'Content-Type: application/json' \
-H 'ck-client-name: prime_web' \
-H 'ck-client-version: 2.0.35' \
--data @/tmp/ck-body.json \
| jq '.data.prime.transactionsHub.transactionPage'
If this starts returning No query found, CK shipped a web build that rotated
the hash. Re-derive it: open a signed-in creditkarma.com page and grep its
Next.js chunks under
creditkarmacdn-a.akamaihd.net/res/content/bundles/prime_web/<ver>/_next/static/chunks/
for usePregeneratedHashes — a name→hash manifest of all 14 operations.
The one rule: cursor-paginate, and check for an auth error INSIDE the 200 body
Credit Karma's primary expired-token signal is an HTTP-200 body carrying an
errorCode — not an HTTP 401. Always check before trusting the payload:
jq -r '.errorCode // (.errors[]?.errorCode) // (.errors[]?.code) // (.errors[]?.extensions.code) // empty' response.json
If that value matches UNAUTHENTICATED|UNAUTHORIZED|TOKEN_EXPIRED|401
(case-insensitive), the access token expired — refresh it (below) and retry.
Anything else (schema drift, validation) is a real error, not an auth
failure — don't refresh on it. A FORBIDDEN/403-shaped code means
authenticated-but-not-authorized; refreshing won't help.
For the next page, re-run the same body with
variables.input.paginationInput.afterCursor set to the previous response's
pageInfo.endCursor, and stop when pageInfo.hasNextPage is false. See
references/requests.md for the full loop.
Refreshing the access token (no need to re-run fpx for this)
The access token is short-lived (~15 min). Refresh with the refreshToken
you already extracted — this is a plain
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл creditkarma-fpx?
Query Credit Karma (creditkarma.com) transactions from a shell with the fpx CLI (@fetchproxy/cli) instead of running the creditkarma-mcp server — capture the signed-in session cookie once, then curl the GraphQL transactions endpoint directly. Use when you want Credit Karma transaction data without the MCP, in a script, or on a machine where the MCP isn't installed.
Как установить скилл creditkarma-fpx?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл creditkarma-fpx запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…