Miles
БесплатноБез исполняемых скриптовНе проверенAsk Miles (askmiles.ai) card and points questions against the owner's real wallet: which card to get next, keep-or-cancel math, transfer partners and ratios…
от assareh813 установок в других каталогахОб этом скилле
Ask Miles
Last updated 2026-11-28. The latest version of this file lives at https://askmiles.ai/skills/ask-miles.md; re-fetch it to upgrade.
Miles is a credit card rewards engine. Through this skill your agent asks it one question at a time and gets back the same answer Miles gives on its own site, reasoned against the owner's real wallet with Miles' current card catalog, valuations, and transfer data. Miles does the reasoning on its side; you spend one tool call where the MCP server offers 63.
The endpoint
OpenAI-compatible chat completions:
POST https://askmiles.ai/v1/chat/completions
Authorization: Bearer <credential>
{"model": "miles", "messages": [{"role": "user", "content": "<question>"}]}
- Model is
miles, the only one. - Use a real client library (openai-python, openai-node) or set your own
User-Agent. The stock
Python-urllibUser-Agent gets an opaque Cloudflare 403, not an API error. - Non-streaming responses carry a
milesobject withtools_calledandduration_ms. Read it: see Provenance below. - Turns can take a while. Miles runs classification, tool rounds, and synthesis before answering. Allow at least 90 seconds.
Authentication
Chat completions come with Membership, including during a Membership trial.
If a request returns 403 membership_required, share the Membership link
from the error with the account owner.
Two credentials reach this endpoint. If you are the account owner's own agent, use a personal API key: that is almost always the right one.
Personal API key (start here)
Ask the owner to turn on Connected AI Apps in Settings (it starts off), then
mint one at https://askmiles.ai/settings?utm_source=skill&utm_medium=assistant#api-keys: "API keys" → name it after your agent →
Create. It is shown once, looks like miles_sk_…, and
is pasted straight into any OpenAI-compatible client:
from openai import OpenAI
client = OpenAI(base_url="https://askmiles.ai/v1", api_key="miles_sk_…")
No browser dance, no registration, no refresh loop. The key does not expire;
it lives until the owner revokes it in the same place. Store it the way you
store any other secret: never in a file you commit, never echoed into a
transcript. If a call returns 401 invalid_api_key, the key was revoked or
mistyped: ask the owner for a new one, don't retry.
While the owner has Connected AI Apps off, creating a key is refused and an
existing key gets 403 connections_paused. The fix is theirs to make in
Settings, not something to retry around.
OAuth 2.1 (only to reach someone else's account)
Use this only when your agent must ask on behalf of a person who is not the
one who configured it: an installed app with many users, not a personal
agent. OAuth 2.1 against mcp.askmiles.ai, scope miles:chat, with dynamic
client registration. The grant belongs to the Miles account of the person who
approves it, and requires a one-time browser consent. Access tokens expire
after one hour, so store the refresh token and refresh. An app other people
use, free or paid, needs written permission before it ships: email
[email protected] first (https://askmiles.ai/terms#personal-use).
Getting a token: follow this recipe, don't improvise. In particular, do
NOT register mcp.askmiles.ai as an MCP server (claude mcp add, MCP
connectors): that is a different integration. It grants MCP tool scopes and
stores its token where your HTTP calls can't reach it, and it never produces
a token this endpoint accepts.
- Discover. GET
https://mcp.askmiles.ai/.well-known/oauth-authorization-serverfor the authorization, token, and registration endpoints. Every URL below comes from this document. - Register once (DCR is unauthenticated). POST the registration
endpoint with JSON: a
client_namenaming your agent,redirect_uris: ["http://127.0.0.1:<your port>/callback"](loopback HTTP is supported per RFC 8252, so pick any free port),grant_types: ["authorization_code", "refresh_token"],response_types: ["code"],token_endpoint_auth_method: "client_secret_post", andscope: "miles:chat". Store the returnedclient_idandclient_secret. They are reused for every refresh. - Prepare. Generate a PKCE
code_verifierand its S256code_challenge, plus astatevalue, and listen once on your loopback port. - Consent, the one human step. Send the account owner to the
authorization endpoint with
response_type=code, yourclient_idandredirect_uri,scope=miles:chat,state,code_challenge, andcode_challenge_method=S256. They approve in a browser where they are signed in to askmiles.ai; the redirect hands your listenercodeandstate. Reject astatethat doesn't match yours. - Exchange. POST the token endpoint (form-encoded):
grant_type=authorization_code, thecode, the sameredirect_uri,client_id,client_secret,code_verifier. The
Установить Miles в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Miles?
Ask Miles (askmiles.ai) card and points questions against the owner's real wallet: which card to get next, keep-or-cancel math, transfer partners and ratios, award strategy, and which card to use for a purchase. Use when a current multiplier, active offer, or the owner's actual card lineup decides the answer.
Как установить скилл Miles?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Miles запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic