Logo di Cold Storage Geographic Distribution Strategy

Cold Storage Geographic Distribution Strategy

Community
HimanshuJ16
cold-storage-geographic-distribution-strategy

Da usare per verificare come le porzioni di chiave M-of-N sono distribuite tra strutture, paesi e giurisdizioni, segnalando sia i singoli punti di errore sia le concentrazioni che possono compromettere il quorum. Per generare le porzioni, usa shamir-secret-sharing-for-key-backup.

Panoramica

Pubblicato daHimanshuJ16
RepositoryAlgo-Trading-Skills
Nome della skillcold-storage-geographic-distribution-strategy
Stelle
50
Fork
7
File inclusi
5
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 5

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da HimanshuJ16 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Cold Storage Geographic Distribution Strategy in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/HimanshuJ16/Algo-Trading-Skills/tree/main/skills/cold-storage-geographic-distribution-strategy
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HimanshuJ16/Algo-Trading-Skills.git /tmp/Algo-Trading-Skills
mkdir -p .claude/skills
cp -r /tmp/Algo-Trading-Skills/skills/cold-storage-geographic-distribution-strategy .claude/skills/cold-storage-geographic-distribution-strategy
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Cold Storage Geographic Distribution Strategy in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Cold Storage Geographic Distribution Strategy non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Cold Storage Geographic Distribution Strategy non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

When to Use

Use this skill when designing or auditing cold storage security architecture for institutional crypto assets held under an $M$-of-$N$ Shamir Secret Sharing scheme. Concentrating shards in one facility, one country, one legal regime, or one commercial custodian creates a Single Point of Failure in both directions:

  • Confidentiality SPOF - one group holds $\ge M$ shards and can reconstruct the key alone (seizure order, raid, insider collusion).
  • Availability SPOF - one group holds $> N - M$ shards and, by becoming unavailable, leaves fewer than $M$ shards reachable, permanently destroying access to the assets.

When NOT to Use

Do not use this skill to split or reconstruct secrets - it never touches key material and performs no cryptography. Shard generation belongs to shamir-secret-sharing-for-key-backup. It is also not a substitute for legal advice on where assets may lawfully be held: it audits a placement you supply, and no regulator surveyed prescribes a shard geography (see references/standards.md).

Prerequisites

  • $M$-of-$N$ threshold parameters (e.g. 3-of-5 or 5-of-7), with $M \ge 2$.
  • Inventory of vault locations with ISO 3166-1 alpha-2 country code, the legal jurisdiction that can compel each vault, and the custodian entity operating it.
  • Facility certification evidence. Note these standards cover different threats and none of them alone certifies a vault: ISO/IEC 27001 and SOC 2 Type II are organisational information-security assurances, EN 1143-1 grades burglary resistance of safes and strongrooms, and EN 1047-1 covers fire protection of data media only and confers no burglary resistance.

Workflow

  1. Vault Registration: Build a VaultShardLocation per shard (shard_id, vault_name, country_code, provider_name, optional jurisdiction, is_iso_27001). Country codes and provider names are upper-cased and stripped on construction so 'ch', 'CH' and ' Ch ' group as one country; free-text country names are rejected because they would split a single country into several groups and hide a concentration.
  2. Jurisdiction Mapping: Set jurisdiction explicitly whenever the compelling legal regime differs from the vault's country - a shared bloc, a parent entity's home regime, or a sub-custodian supervised elsewhere. When omitted it defaults to country_code, which is the optimistic assumption; if in doubt, map the broader regime.
  3. Placement Audit: Call audit_distribution. It rejects a malformed matrix outright - wrong shard count, shard ids outside $[1, N]$, or duplicate shard ids, since two copies of one shard are one shard and would otherwise inflate every safety margin.
  4. Interpret Violations: For each country, jurisdiction and provider group the audit reports a Confidentiality violation when the group holds $\ge M$ shards, otherwise an Availability violation when it holds $> N - M$. A placement can fail on availability while passing confidentiality (4-of-6 with 3 shards in one country) - do not treat "no reconstruction risk" as safe.
  5. Redundancy Reserve: The audit flags $N - M$ below min_redundancy_gap (default 2, an internal engineering default, not a regulatory figure). Raise or lower it deliberately; lowering it accepts that fewer lost shards destroy access.
  6. Report: AuditReport carries is_compliant, the per-group maxima, redundancy_gap, the country-level Shannon entropy and the violation list. Remediate every violation and re-audit; entropy is descriptive context only and never gates compliance.

Full procedure: see references/workflows.md. Standards reference: see references/standards.md. Printable pre-flight checklist: see assets/checklist.md.

Common Pitfalls

  • Auditing Confidentiality Only: A 4-of-6 scheme with 3 shards in one country passes a reconstruction-risk check (3 < 4) yet is one country-level outage away from permanent, unrecoverable loss (6 - 3 = 3 < 4). Both directions must be checked on every group.
  • Single Jurisdiction Concentration: Three shards in three different cities of the same country - one domestic court order or tax seizure reaches all three. Multi-city is not multi-jurisdiction.
  • Country-Level Grouping Only: Vaults in different countries can still sit under one effective legal regime through a shared bloc or a sub-custodian's home supervisor. Country counts of 1 each hide this; the jurisdiction field is what catches it.
  • Provider Collusion Risk: Different physical vaults operated by the same commercial custodian, or by subsidiaries of one parent, are one adversary.
  • Duplicated Shards Counted as Coverage: Copying shard 3 into a second vault raises the count of places the key can leak from without raising the number of distinct shards; it weakens confidentiality and adds no reconstruction margin.
  • Threshold Imbalance: A 2-of-3 scheme tolerates only one lost shard; the second loss is terminal. Choose $N - M$ against the real probability of losing a vault, not against convenience.
  • Treating Entropy as a Safety Score: High Shannon entropy does not imply threshold safety - two placements with identical entropy can differ in whether a single group reaches $M$. Only the violation list is authoritative.
  • Assuming a Certificate Covers the Threat: An EN 1047-1 data safe resists fire and provides no defined burglary resistance; ISO 27001 certifies a management system, not the steel around the shard.

Verification

  • Instantiate ColdStorageGeographicDistributor(threshold_m=3, total_shards_n=5) and place 3 shards in Switzerland (CH). Verify the report is non-compliant with a Country Confidentiality SPOF Violation. Redistribute across CH, SG, IS, US and JP and verify a compliant report with max_shards_in_single_country == 1.
  • Instantiate ColdStorageGeographicDistributor(threshold_m=4, total_shards_n=6) with 3 shards in the US and one each in CH, SG, JP. Verify it is non-compliant with a Country Availability SPOF Violation and no confidentiality violation.
  • Run python -m unittest discover -s skills/cold-storage-geographic-distribution-strategy/scripts (16 tests).

Related Skills

  • shamir-secret-sharing-for-key-backup
  • air-gapped-signing-workflow-for-cold-storage
  • regulatory-custody-requirements-by-jurisdiction

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Cold Storage Geographic Distribution Strategy?

Da usare per verificare come le porzioni di chiave M-of-N sono distribuite tra strutture, paesi e giurisdizioni, segnalando sia i singoli punti di errore sia le concentrazioni che possono compromettere il quorum. Per generare le porzioni, usa shamir-secret-sharing-for-key-backup.

Perché usare Cold Storage Geographic Distribution Strategy su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Cold Storage Geographic Distribution Strategy è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Cold Storage Geographic Distribution Strategy in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/HimanshuJ16/Algo-Trading-Skills/tree/main/skills/cold-storage-geographic-distribution-strategy. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Cold Storage Geographic Distribution Strategy?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Cold Storage Geographic Distribution Strategy?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Cold Storage Geographic Distribution Strategy: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Cold Storage Geographic Distribution Strategy è gratuita?

Sì. È pubblicata su GitHub da HimanshuJ16 con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇