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★ 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:
- Show a clear summary table with Setting, Current Value, and New Value
- Explicitly ask: "Shall I apply these changes to {orgName}?"
- Only proceed after the user confirms
- 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 orgdisableAutoCommit— Stops all automatic data processingskipCostBasis— Disables cost basis entirelycommitStrategy: SKIP_ALL— Fully disables a platform's data pipelineenableMultiEntity— Structural change, hard to reverseallowShort— 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 settingsintrospect("setOrganizationSettings")— all writable org settings with descriptionsintrospect("PlatformSettingsObjectType")— all readable platform settingsintrospect("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 namedisabledPlatforms— quick list of platforms with collection fully disabledauth0Connections— available SSO login methods
Writing Organization Settings
Mutation Structure
Uses patch semantics — only include the fields you want to ch
Установить 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), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic