Command Palette

Search for a command to run...

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

tres-settings-management

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

Manage Organization Settings and Platform Settings via the TRES MCP GraphQL API. Use when users ask about org settings, platform settings, configuration…

anthropicsот anthropics★ 4 977 звёзд на GitHub

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

TRES MCP - Organization & Platform Settings

How This Skill Works

This skill lets users view and modify configuration for their TRES Finance organization and individual blockchain/exchange platforms. There are two levels:

  • Organization Settings — Apply to the entire org: how cost basis is calculated, which features are enabled, ERP behavior, pricing sources, commit scheduling, etc.
  • Platform Settings — Apply per-platform (e.g., Ethereum, Arbitrum) and optionally per-wallet: commit strategy, sync date boundaries, balance diff, asset filtering, etc.

Ground Rules

1. Always Start by Identifying the Org

Before doing anything, confirm which organization the user is connected to:

query { admin { orgName } }

Tell the user: "You're connected to {orgName}."

2. Read Before Write

Before any mutation, ALWAYS fetch the current value of the setting(s) being changed. Show a clear before/after comparison.

3. Mutations Require Explicit Approval

Before executing ANY mutation, you MUST:

  1. Show a clear summary table with Setting, Current Value, and New Value
  2. Explicitly ask: "Shall I apply these changes to {orgName}?"
  3. Only proceed after the user confirms
  4. After execution, show the confirmed result from the mutation response

4. Warn About High-Risk Changes

Flag these settings as potentially dangerous and add a warning:

  • costBasisStrategy — Changing mid-period can cause recalculations across the entire org
  • disableAutoCommit — Stops all automatic data processing
  • skipCostBasis — Disables cost basis entirely
  • commitStrategy: SKIP_ALL — Fully disables a platform's data pipeline
  • enableMultiEntity — Structural change, hard to reverse
  • allowShort — Enables short positions in cost basis

5. Use Schema Introspection for Field Discovery

Do NOT rely on hardcoded field lists. Use the MCP introspect tool to discover available fields and their types dynamically:

  • introspect("OrganizationSettingsObjectType") — all readable org settings
  • introspect("setOrganizationSettings") — all writable org settings with descriptions
  • introspect("PlatformSettingsObjectType") — all readable platform settings
  • introspect("setPlatformSettings") — all writable platform settings with descriptions

When a user asks "what can I configure?" or you need to verify a field name or enum values, introspect first.


Setting Categories (use when users ask vaguely)

If the user says "show me the settings" without specifics, offer these categories with plain-language explanations:

Category What It Controls
Cost Basis How gains/losses are calculated (FIFO, LIFO, etc.), per-wallet vs org-wide, impairment
Commit Pipeline Automatic data processing schedule, priority, stuck detection, sync hours
Internal Transfers How transfers between the org's own wallets are detected and matched
Pricing Where asset prices come from, stablecoin pegging, swap alignment
ERP Integration How data syncs to accounting systems (NetSuite, Xero, QuickBooks)
Dashboard & Features Which UI features are enabled (pivot tables, vesting, payments, multi-entity)
Staking Staking rewards tracking and position management
Reconciliation Cross-org and subsystem reconciliation behavior
Reports Scheduled report timing, format, and content
Platform Collection Which blockchains/exchanges are enabled, their sync boundaries and filters

Reading Organization Settings

Query Structure

query {
  admin {
    orgName
    organizationSettings {
      # include only the fields relevant to the user's question
    }
  }
}
  • Organization is resolved from the auth token — no org ID needed
  • Never request all fields at once — pick the category relevant to the question
  • Use introspect("OrganizationSettingsObjectType") to discover available fields if needed

Nested Fields (must expand sub-fields when querying)

These fields return objects/lists, not scalars. Always include their sub-fields:

Field Sub-fields What It Is
peggedStableCoinsToFiat assetName, currency Stablecoins treated as equivalent to fiat
pricingApiSourcePerAsset assetName, pricingApiSource Custom pricing source per asset
netsuiteCurrencySymbolToInternalId currency, internalId NetSuite currency mapping
simpleMatchingStrategies beforeRange, afterRange Reconciliation time windows
proofOfFunds organizationName Proof of funds client config

Additional Admin Fields

The admin query also provides:

  • orgName — the organization's display name
  • disabledPlatforms — quick list of platforms with collection fully disabled
  • auth0Connections — available SSO login methods

Writing Organization Settings

Mutation Structure

Uses patch semantics — only include the fields you want to ch

Полный SKILL.md на GitHub

Установить tres-settings-management в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл tres-settings-management?

Manage Organization Settings and Platform Settings via the TRES MCP GraphQL API. Use when users ask about org settings, platform settings, configuration, feature flags, enable/disable platforms, balance diff, commit strategy, cost basis, ERP, pricing, sync boundaries, or any setting read/write operation. Trigger phrases include "get settings", "show settings", "update settings", "change settings", "enable platform", "disable platform", "balance diff", "commit strategy", "cost basis strategy", "set min sync date", "configure", "turn on", "turn off".

Как установить скилл tres-settings-management?

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

Скилл tres-settings-management запускает скрипты?

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

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

Сравнить tres-settings-management с