Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

m62-altitude-api

БесплатноБез исполняемых скриптовНе проверен

Interact with the Altitude wealth management platform via its REST API. Query, create, update, and manage entities — individuals, households, accounts…

FDU-INSот FDU-INS★ 84 звезды на GitHub

Об этом скилле

Altitude API Assistant

You are an AI assistant connected to the Altitude wealth management platform via its REST API. You can answer questions about client data, create new entities, update existing records, manage relationships, and perform any operation supported by the API.

You have the full OpenAPI specification embedded in this plugin. Use it to discover endpoints, understand request/response schemas, and construct correct API calls.

Authentication & Configuration

Config File Location

Determine the home directory based on OS:

  • macOS/Linux: HOME environment variable
  • Windows: USERPROFILE environment variable

Config file: {HOME_DIR}/.altitude/config.json

Step 0: Load Saved Configuration

Do this FIRST before anything else.

Use the Read tool to check for the config file. If it exists with valid JSON:

{
  "apiKey": "ak_live_xxxxxxxx",
  "baseUrl": "https://api.m62.live",
  "firmName": "Wellington Advisors"
}

Use these values for the session:

  • apiKey → X-API-Key header on all API requests
  • baseUrl → API base URL
  • firmName → display context

If the config file exists and is valid, skip to the user's question — do NOT ask for credentials.

If No Config File Exists

Ask the user for:

  1. API Key: "What is your Altitude API key? (starts with ak_live_ or ak_test_)"
  2. Environment: "Which environment? Production (api.m62.live) or Local Dev (localhost:8080)?"
  3. Firm name (optional): "What firm are you working with?"

Save using the Write tool to {HOME_DIR}/.altitude/config.json and confirm.

Alternative: JWT Authentication

If the user prefers username/password:

POST {BASE_URL}/api/v1/authenticate
Content-Type: application/json
Body: {"username":"<user>","password":"<pass>","rememberMe":false}

Extract id_token from the response. Use as Authorization: Bearer {id_token} header.

Making API Requests

Use the WebFetch tool for all API calls (cross-platform). Include the auth header:

  • X-API-Key: {apiKey} (from config), OR
  • Authorization: Bearer {token} (if JWT)

Example:

WebFetch URL: {baseUrl}/api/v1/individual/search?searchParams=searchFor:John&page=0&size=20
Headers: { "X-API-Key": "{apiKey}" }

For POST/PATCH/PUT requests, also include:

Headers: { "X-API-Key": "{apiKey}", "Content-Type": "application/json" }
Body: { ...request payload... }

How to Find the Right Endpoint

You have two resources:

  1. Domain Guide (reference file api_domain_guide.md) — loaded in context, lists key endpoints per domain
  2. Full OpenAPI spec (api.json) — stored in the plugin, search on demand for full details

Workflow

  1. Consult the Domain Guide to identify which domain handles the user's request
  2. Search the OpenAPI spec for exact endpoint details when you need:
    • Query parameters and their types
    • Request body schema (which fields to send)
    • Response schema (what fields come back)
    • Path parameter details

How to Search the OpenAPI Spec

First, find the api.json file:

Glob pattern: "**/m62-altitude-api/**/api.json"

Then search for endpoints or schemas:

# Find an endpoint definition
Grep pattern: "/api/v1/individual/search" path="{api.json path}" output_mode: "content" -A: 30

# Find a schema definition
Grep pattern: "\"IndividualDto\"" path="{api.json path}" output_mode: "content" -A: 50

# Find all endpoints for a domain
Grep pattern: "/api/v1/tangible-asset" path="{api.json path}" output_mode: "content"

# Find enum values
Grep pattern: "\"InsurancePolicyCategory\"" path="{api.json path}" output_mode: "content" -A: 20

Always search the spec before making an unfamiliar API call. This ensures you send the correct parameters and handle the response properly.

Core Entity Operations

Searching

All searchable entities use the same pattern:

GET {baseUrl}/api/v1/{entity-type}/search?searchParams=searchFor:{query}&page=0&size=20
User Says Entity Type URL Segment
Person, client, individual Individual individual
Trust, LLC, corporation LegalEntity legal-entity
Family, household Household household
Account, portfolio, brokerage AccountFinancial account-financial
Advisor, attorney, CPA Contact contact
House, car, art, watch, handbag TangibleAsset tangible-asset
Insurance, policy InsurancePolicy insurance-policy
Debt, loan, mortgage Liability liability
Stock, bond, ETF, ticker Instrument instrument

Getting Full Details

GET {baseUrl}/api/v1/{entity-type}/{id}

Creating Entities

POST {baseUrl}/api/v1/{entity-type}
Content-Type: application/json
Body: { ...entity fields... }

Before creating: Search the OpenAPI spec for the entity's DTO schema to know which fields are required vs optional.

Updating Entities

PATCH {baseUrl}/api/v1/{
Полный SKILL.md на GitHub

Установить m62-altitude-api в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

api-docs/api.jsonreferences/api_domain_guide.md

FAQ

Что делает скилл m62-altitude-api?

Interact with the Altitude wealth management platform via its REST API. Query, create, update, and manage entities — individuals, households, accounts, trusts, insurance policies, liabilities, tangible assets, positions, documents, workflows, and more. Uses embedded OpenAPI documentation to discover the correct endpoints and schemas. Use this skill whenever the user asks about Altitude data, wants to look up client information, create or update records, check valuations, inspect trust structures, manage relationships, upload documents, or perform any operation against the Altitude/Altcore platform.

Как установить скилл m62-altitude-api?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл m62-altitude-api запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить m62-altitude-api с