Logo de Disaster Recovery Planner

Disaster Recovery Planner

Organização
Navinspire-ia
disaster-recovery-planner

Planeje, execute e avalie exercícios de recuperação de desastres (PRA) e continuidade de negócios (PCA), validando as metas de RPO e RTO com base em evidências. Elabora a análise de impacto nos negócios (MTPD, RTO, RPO, MBCO), escolhe a estratégia de recuperação (backup e restauração, pilot light, warm standby, active-active), redige o plano do exercício com eventos simulados e critérios de sucesso, calcula o RTO e o RPO alcançados com base nos horários registrados durante o teste e relaciona as evidências ao art. 11, 12 e 24 a 26 do DORA, à ISO 22301, à NIS2 e aos guias da ANSSI, usando AWS Backup, Elastic Disaster Recovery, Route 53 ARC, Aurora Global Database, Azure Site Recovery, Velero e PITR de bancos de dados. Use quando o usuário pedir para “planejar um exercício de DR”, “executar um teste de failover”, “verificar nosso RTO e RPO”, “redigir a análise de impacto nos negócios” ou precisar comprovar que os backups são restaurados dentro da meta. Em francês: “preparer un exercice PRA”, “tester le plan de continuite”, “valider nos RTO et RPO”.

Add to TypingMind

Visão geral

Publicado porNavinspire-ia
Repositórionavin
Nome da habilidadedisaster-recovery-planner
Estrelas
37
Forks
5
Arquivos incluídos
8
LicençaAGPL-3.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 8

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por Navinspire-ia no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Disaster Recovery Planner no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/Navinspire-ia/navin/tree/main/navin/skills/disaster-recovery-planner
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Navinspire-ia/navin.git /tmp/navin
mkdir -p .claude/skills
cp -r /tmp/navin/navin/skills/disaster-recovery-planner .claude/skills/disaster-recovery-planner
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Disaster Recovery Planner em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Disaster Recovery Planner automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Disaster Recovery Planner não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Disaster Recovery Planner

Overview

Design, run and assess disaster recovery (PRA, plan de reprise d'activite) and business continuity (PCA, plan de continuite d'activite) exercises, and turn their results into measured RTO and RPO figures, findings with owners, and the evidence pack that DORA, NIS2, ISO 22301 and internal audit ask for. The default posture is read-only and evidence-based: read backup catalogues, replication status, runbooks and incident timelines, compute achieved objectives from recorded timestamps, draft plans and reports. Any action on a target (promoting a replica, triggering a Velero restore, rotating a Route 53 ARC routing control, starting an Elastic Disaster Recovery drill) is written as a proposed command with its rollback and runs only after the user approves it in the exercise window.

When it applies

  • A regulated entity (bank, insurer, payment institution, NIS2 essential or important entity) must show yearly continuity testing with switchover scenarios.
  • A team wants to know whether the stated RTO of 1 hour and RPO of 15 minutes are real, or has never restored a backup.
  • A DR plan or runbook exists on paper and must be exercised: walkthrough, tabletop, simulation, component or full failover, backup restore test, chaos game day.
  • A real incident happened and the after-action review must measure achieved RTO and RPO and feed the plan.
  • A cloud architecture decision depends on the RTO/RPO band: pilot light versus warm standby versus active-active, and the cost of each.
  • A BIA (business impact analysis) must be written or refreshed before an audit.

Out of scope: live incident command during a real outage (sre-incident-responder), backup software operation on its own (backup-rollback, storage-operator), penetration and threat-led testing (penetration-tester).

Engines and sources

Cloud and Kubernetes commands run through the infra tool: level observe for every read below, prepare to render a change plan or dry run, execute only for the approved exercise step. Ticketing, chat and documentation go through the connectors tool (Jira, Confluence, Notion, Slack, GitHub, Gmail) when a connector exists. Install a missing CLI with the toolbelt skill. Credentials come from the environment (AWS_PROFILE, AZURE_SUBSCRIPTION_ID, CLOUDSDK_CORE_PROJECT, KUBECONFIG, PGPASSWORD) and are never printed.

NeedCommand (observe)Exercise step (execute, approval required)
AWS Backup recovery pointsaws backup list-recovery-points-by-backup-vault --backup-vault-name <vault> --by-resource-arn <arn>; aws backup describe-backup-job --backup-job-id <id>aws backup start-restore-job --recovery-point-arn <arn> --metadata file://restore.json --iam-role-arn <role>; aws backup start-restore-job into an isolated account for art. 12(5)
AWS Elastic Disaster Recoveryaws drs describe-source-servers; aws drs describe-replication-configuration-templates; lag in dataReplicationInfo.lagDurationaws drs start-recovery --source-servers sourceServerID=<id> --is-drill (drill flag keeps the source untouched)
Aurora Global Databaseaws rds describe-global-clusters --global-cluster-identifier <id> (GlobalClusterMembers[].IsWriter), CloudWatch AuroraGlobalDBReplicationLag (ms)aws rds switchover-global-cluster --global-cluster-identifier <id> --target-db-cluster-identifier <arn> (planned, zero data loss) or aws rds failover-global-cluster --allow-data-loss (unplanned)
Route 53 failover and ARCaws route53 get-health-check-status --health-check-id <id>; aws route53-recovery-cluster get-routing-control-state --routing-control-arn <arn> --region <cluster-region>; aws route53-recovery-readiness get-readiness-check-status --readiness-check-name <name>aws route53-recovery-cluster update-routing-control-states --update-routing-control-state-entries '[{"RoutingControlArn":"<primary>","RoutingControlState":"Off"},{"RoutingControlArn":"<secondary>","RoutingControlState":"On"}]' (call one of the five cluster endpoints)
Azure Site Recovery and Backupaz backup job list --resource-group <rg> --vault-name <vault> --output table; az backup recoverypoint list --resource-group <rg> --vault-name <vault> --container-name <c> --item-name <i>; ASR replication health in az resource show on replicationProtectedItems or the portal RPO columnaz backup restore restore-disks ...; ASR test failover from recovery plan (Start-AzRecoveryServicesAsrTestFailoverJob in PowerShell, portal otherwise)
GCP Backup and DRgcloud backup-dr backup-vaults list; gcloud backup-dr backups list --backup-vault <vault> --data-source <ds> --location <loc>; gcloud sql backups list --instance <inst>gcloud backup-dr backups restore ...; gcloud sql backups restore <id> --restore-instance <clone> into a clone, never the source
Kubernetes (Velero)velero backup get; velero backup describe <name> --details; velero schedule get; velero backup-location getvelero restore create --from-backup <name> --namespace-mappings prod:dr-test --wait; velero restore describe <name> for the warnings count
etcdkubectl -n kube-system exec etcd-<node> -- etcdctl endpoint status --write-out=table; etcdutl snapshot status snapshot.db --write-out=tableetcdutl snapshot restore snapshot.db --data-dir /var/lib/etcd-restore on a rebuilt control plane
PostgreSQLstandby lag: SELECT now() - pg_last_xact_replay_timestamp() AS replay_lag; on the replica; SELECT client_addr, write_lag, flush_lag, replay_lag FROM pg_stat_replication; on the primary; PITR coverage: aws rds describe-db-instances --query 'DBInstances[].LatestRestorableTime'aws rds restore-db-instance-to-point-in-time --restore-time <ts> --target-db-instance-identifier <clone>; pg_basebackup plus recovery_target_time on self-managed
MySQLSHOW REPLICA STATUS\G (Seconds_Behind_Source, Replica_SQL_Running)`mysqlbinlog --start-datetime ...
Timeline sourcesPagerDuty, Opsgenie or Slack incident channel exports, CloudTrail (aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventName,AttributeValue=FailoverGlobalCluster), Jira ticket history via connectors-

Large exports (CloudTrail, Velero describe with details, backup job lists) are written to files and searched with the grep tool before any part is read.

Workflow

  1. Frame the request. Determine whether the need is a BIA, an exercise, a post-incident measurement, or an evidence pack for a regulation. Identify the regulatory drivers (DORA article 11(6) yearly test with switchover, art. 25 scenario-based tests on critical functions, NIS2 art. 21(2)(c), ISO 22301 8.5) from references/dora-iso-mapping.md; they set the minimum exercise type and cadence.
  2. Build or read the BIA. Fill references/bia-template.md: processes with owner, tier, MTPD, RTO, RPO, MBCO, peak periods, manual workaround; then systems inheriting the strictest objectives, with strategy, secondary site, dependencies, last exercise and achieved figures. Challenge any RTO equal to its MTPD (no detection and decision margin) and any RPO under one minute served by a backup strategy.
  3. Inventory the real capability. Through infra observe, read the backup catalogue (last successful recovery point per system, retention, cross-region or offline copy, immutability), replication status and lag, DNS failover configuration, the secondary site capacity, and the runbooks. Record the current recovery point age per system: it is the RPO achievable today, before any exercise.
  4. Choose the exercise type with references/exercise-types.md: walkthrough or tabletop when the plan was never exercised; backup restore test when backups were never restored; component failover for a measured RTO on one system; full failover when a regulation requires switchover of a critical function. Climb the realism ladder one step per exercise.
  5. Write the exercise plan. Prepare the scenario JSON (name, type, scope, objectives, systems with targets and owners, injects with offsets, roles, communication, drivers) and run python3 scripts/exercise_plan.py scenario.json --out plan.md. The output carries the inject timeline with clock times, the roles table, the success criteria derived from each system's RTO and RPO, abort and rollback criteria, the communication plan and the evidence checklist. Have the exercise director, the incident commander and the business owner sign it.
  6. Prepare the write steps. For every inject that changes a target, produce the exact command (table above), its precondition check, its rollback command, and the observer's timestamp to record. Run infra prepare where a dry run exists (velero restore create ... --dry-run, aws drs start-recovery --is-drill, ASR test failover). Confirm the restore target is isolated from the source (separate account, subscription or namespace; DORA art. 12(5)).
  7. Run the exercise. The observer logs UTC timestamps: incident_declared, failover_decided, restore_started, service_restored, service_validated, plus the last consistent recovery point (backup completion time or replica lag read just before the switch). Each write step executes through infra execute only after the user confirms the inject in the window. Stop on any abort criterion.
  8. Measure. Put the timestamps in a drill log JSON and run python3 scripts/rpo_rto_check.py drill.json (exit 1 on any breach). Read the phase breakdown: decision latency and validation time are the usual budget consumers, not the restore itself.
  9. Write the after-action report from references/after-action-report.md: objectives met, RTO/RPO table, timeline, findings with severity, root cause, owner and due date, plan and BIA updates, next exercise. Create one ticket per finding through connectors when Jira or GitHub is connected.
  10. Assemble the evidence pack for the regulation rows that apply: signed plan, log, script outputs, screenshots or command outputs, communication drafts, the report, and the management acknowledgement. Deliver the Markdown report below; use studio-html-report when the user wants an HTML report.

Rules

  • RTO starts at incident declaration (or detection when the organisation defines it so), not at the start of the restore; RTO ends at business validation, not when the process is up. Both conventions are written in the BIA and used consistently.
  • RPO is measured from the last consistent recovery point to the moment of the disruption: backup completion time, or replica lag read before the switch. A backup that is "daily at 02:00" gives an RPO of up to 24 hours, whatever the policy document says.
  • Aurora switchover-global-cluster is a planned, zero-RPO operation and proves the runbook, not the RPO under failure; the unplanned failover-global-cluster --allow-data-loss is the one that measures real data loss.
  • aws drs start-recovery --is-drill and ASR test failover do not touch the source servers; they prove RTO, not fail-back. Fail-back is a separate step to plan and time.
  • A Velero restore completes with status Completed even with warnings; read velero restore describe warnings and errors counts, and validate the application, not the object count.
  • Restore into the production account or the source cluster is not a test: DORA art. 12(5) requires a segregated target; it also avoids overwriting the data you are trying to protect.
  • Route 53 ARC routing control updates must be sent to the cluster endpoints in their own regions and work when the control plane region is down; the regular route53 API is not the failover path.
  • A tabletop alone does not satisfy DORA art. 11(6): the text requires switchover between primary and redundant infrastructure to be tested. Say so when the only evidence is a tabletop.
  • Exercise communications carry the prefix EXERCISE; regulator notifications (DORA art. 19, NIS2 art. 23) are completed as drafts and never sent during an exercise.
  • The observer takes no action; the exercise director may stop but not help. Assistance given is recorded as a deviation and usually as a finding.
  • Breached targets are reported as breaches with the margin, never rounded into a pass; the fix is a change in the plan, the architecture or the BIA, decided by the owner in the after-action report.
  • Keep timestamps in UTC with the source (log line, ticket event) next to them; two clocks that disagree are a finding.

Deliverable

A Markdown report (HTML with studio-html-report on request) with these sections:

Summary: exercise type, date, scope, overall result (PASS, PASS WITH FINDINGS, FAIL), regulatory drivers covered.

BIA extract (from references/bia-template.md):

SystemTierMTPDRTO targetRPO targetMBCOStrategySecondary siteOwner

Current capability (observe step):

SystemLast recovery point (UTC)Age at checkReplica lagCopy locationImmutable or offline copyRunbook version

Achieved RTO / RPO (from scripts/rpo_rto_check.py):

SystemTierRTO targetRTO achievedRTO marginRPO targetRPO achievedRPO sourceResult

Phase breakdown:

SystemDecisionPreparationRestoreValidation

Findings:

IDSeverityFindingRoot causeCorrective actionOwnerDue dateRegulation or clause

Regulatory evidence map (from references/dora-iso-mapping.md):

RequirementArticle or clauseEvidence itemStatus

Proposed exercise steps (write operations, none executed without approval):

InjectCommandPreconditionRollbackTimestamp to record

Evidence files kept in the workspace: plan.md, drill.json, the Markdown and JSON outputs of rpo_rto_check.py, exported logs and screenshots, communication drafts, after-action-report.md.

Resources

  • scripts/rpo_rto_check.py - achieved RTO and RPO per system from a drill log JSON, pass or fail with margin, phase breakdown, --json, --warn-margin-pct; exit 1 on any breach. Test run: python3 scripts/rpo_rto_check.py examples/drill-log-regional-failover.json (exits 1: the reporting warehouse breaches both targets).
  • scripts/exercise_plan.py - complete Markdown exercise plan from a scenario JSON: header, objectives, systems, roles, inject timeline with clock times, timestamps to record, success criteria, abort criteria, communication plan, evidence checklist; --out, --json. Test run: python3 scripts/exercise_plan.py examples/scenario-regional-failover.json --out plan.md.
  • examples/drill-log-regional-failover.json - drill log of a regional failover with three systems (Aurora global database, EKS warm standby, backup-and-restore warehouse); shows both RPO sources.
  • examples/scenario-regional-failover.json - full failover scenario with nine injects, roles and regulatory drivers; copy it as the starting point for a new plan.
  • references/exercise-types.md - type matrix (impact, duration, attendees, cadence, what it proves), choice rules, realism ladder, mandatory scenarios, measurement sources, common findings. Open it at step 4.
  • references/bia-template.md - vocabulary (MTPD, RTO, RPO, MBCO, WRT), strategy bands with typical RTO/RPO and cloud building blocks, process and system tables, dependency questions, sign-off. Open it at step 2.
  • references/dora-iso-mapping.md - DORA art. 5, 11, 12, 14, 17 to 19, 24 to 30 and RTS 2024/1774, NIS2 art. 21 and 23, ISO 22301 clauses 8 to 10, ISO/IEC 27031, ANSSI and EBA guides, with the evidence to produce for each. Open it at steps 1 and 10.
  • references/after-action-report.md - report template with findings severity scale, timeline, business impact, plan updates, evidence index and distribution rules. Open it at step 9.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Disaster Recovery Planner faz?

Planeje, execute e avalie exercícios de recuperação de desastres (PRA) e continuidade de negócios (PCA), validando as metas de RPO e RTO com base em evidências. Elabora a análise de impacto nos negócios (MTPD, RTO, RPO, MBCO), escolhe a estratégia de recuperação (backup e restauração, pilot light, warm standby, active-active), redige o plano do exercício com eventos simulados e critérios de sucesso, calcula o RTO e o RPO alcançados com base nos horários registrados durante o teste e relaciona as evidências ao art. 11, 12 e 24 a 26 do DORA, à ISO 22301, à NIS2 e aos guias da ANSSI, usando AW...

Por que usar Disaster Recovery Planner no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Disaster Recovery Planner é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Disaster Recovery Planner no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Navinspire-ia/navin/tree/main/navin/skills/disaster-recovery-planner. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Disaster Recovery Planner?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Disaster Recovery Planner?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Disaster Recovery Planner com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Disaster Recovery Planner é gratuita?

Sim. A habilidade é publicada no GitHub por Navinspire-ia sob a licença AGPL-3.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇