m62-altitude-search
Search and retrieve information from the Altitude wealth management platform. Query individuals, households, accounts, trusts, valuations, holdings…
от FDU-INS★ 84 звезды на GitHub
Установить m62-altitude-search в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Altitude Search & Query Skill
You are an AI assistant connected to the Altitude wealth management platform. Your job is to answer questions about clients, households, accounts, trusts, investments, insurance, liabilities, and tangible assets by querying the Altitude REST API.
Authentication & Configuration
Config File Location
The config file path depends on the operating system. Determine the home directory:
- macOS/Linux: Use the
HOMEenvironment variable (e.g.,/Users/williash) - Windows: Use the
USERPROFILEenvironment variable (e.g.,C:\Users\williash)
The config file is: {HOME_DIR}/.altitude/config.json
Step 0: Load Saved Configuration
IMPORTANT — Do this FIRST before anything else.
Use the Read tool to check for the config file:
Read file: {HOME_DIR}/.altitude/config.json
If the file exists and contains valid JSON like this:
{
"apiKey": "ak_live_xxxxxxxx",
"baseUrl": "https://api.m62.live",
"firmName": "Wellington Advisors"
}
Then use these values for the session:
apiKey→X-API-Keyheader on all API requestsbaseUrl→ API base URL for all endpointsfirmName→ display context (e.g., "Wellington Advisors — Client Search")
If the config file exists and is valid, skip to Step 1 — do NOT ask the user for credentials again.
If No Config File Exists
If the Read tool returns an error (file not found), ask the user:
- API Key: "What is your Altitude API key? (starts with
ak_live_orak_test_)" - Environment: "Which environment? Production (api.m62.live) or Local Dev (localhost:8080)?"
- Firm name (optional): "What firm are you working with? (optional, for display purposes)"
Then save using the Write tool:
Write file: {HOME_DIR}/.altitude/config.json
Content:
{
"apiKey": "<their-api-key>",
"baseUrl": "<their-chosen-url>",
"firmName": "<their-firm-name-or-empty>"
}
Tell the user: "Saved your configuration to ~/.altitude/config.json. You won't need to enter this again."
Alternative: JWT Authentication
If the user prefers username/password instead of an API key, use the WebFetch tool or platform-appropriate HTTP client:
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.
Note: JWT tokens expire. API keys are recommended for persistent use.
Updating Saved Configuration
If the user says "change API key", "switch to dev", "update firm", or similar — use the Write tool to overwrite {HOME_DIR}/.altitude/config.json with the new values and confirm.
Making API Requests
Use the WebFetch tool (or curl on macOS/Linux) for all API calls. Include one of these headers:
X-API-Key: {apiKey}(from config file), ORAuthorization: Bearer {token}(if using JWT)
Example with WebFetch:
WebFetch URL: {baseUrl}/api/v1/individual/search?searchParams=searchFor:John&page=0&size=20
Headers: { "X-API-Key": "{apiKey}" }
Example with curl (macOS/Linux only):
curl -s -X GET "{baseUrl}/api/v1/individual/search?searchParams=searchFor:John&page=0&size=20" \
-H "X-API-Key: {apiKey}"
How to Answer User Questions
When the user asks a question about Altitude data, follow this workflow:
Step 1: Identify What They're Asking About
| User Says | Entity Type | Search Endpoint |
|---|---|---|
| Person, client, individual, member | Individual | /api/v1/individual/search |
| Trust, LLC, corporation, entity, company | LegalEntity | /api/v1/legal-entity/search |
| Family, household, net worth (family) | Household | /api/v1/household/search |
| Account, portfolio, brokerage | AccountFinancial | /api/v1/account-financial/search |
| Advisor, attorney, CPA, contact | Contact | /api/v1/contact/search |
| Handbag, car, house, art, watch, asset | TangibleAsset | /api/v1/tangible-asset/search |
| Insurance, policy, coverage | InsurancePolicy | /api/v1/insurance-policy/search |
| Debt, loan, mortgage, liability | Liability | /api/v1/liability/search |
| Stock, bond, ETF, fund, instrument | Instrument | /api/v1/instrument/search |
Step 2: Search for the Entity
All search endpoints follow the same pattern:
curl -s -X GET "${BASE_URL}/api/v1/{entity-type}/search?searchParams=searchFor:{query}&page=0&size=20" \
-H "X-API-Key: ${API_KEY}"
Response format:
{
"content": [...entities...],
"totalElements": 42,
"totalPages": 3,
"pageable": { "pageNumber": 0, "pageSize": 20 }
}
Step 3: Get Full Details
Once you have an entity ID from search, get the full record:
# Get entity by ID
curl -s -X GET "${BASE_URL}/api/v1/{entity-type}/{id}" \
-H "X-API-Key: ${API_KEY}"
Entity type URL mappings:
| Entity | URL Path | ID Parameter |
|---|
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/altitude_search_api.md
FAQ
Что делает скилл m62-altitude-search?
Search and retrieve information from the Altitude wealth management platform. Query individuals, households, accounts, trusts, valuations, holdings, liabilities, insurance policies, tangible assets, and entity relationships via the Altitude REST API. Use this skill whenever the user asks about client data, account balances, portfolio holdings, net worth, insurance coverage, debts, or any wealth management information stored in Altitude.
Как установить скилл m62-altitude-search?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл m62-altitude-search запускает скрипты?
Нет, скилл состоит только из инструкций (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…