mega-brain-ai 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mega-brain-ai might be problematic. Click here for more details.
- package/.claude/CLAUDE.md +155 -0
- package/.claude/commands/agents.md +161 -0
- package/.claude/commands/ask.md +117 -0
- package/.claude/commands/benchmark.md +224 -0
- package/.claude/commands/chat.md +343 -0
- package/.claude/commands/compare.md +116 -0
- package/.claude/commands/conclave.md +194 -0
- package/.claude/commands/config.md +133 -0
- package/.claude/commands/council.md +194 -0
- package/.claude/commands/create-agent.md +452 -0
- package/.claude/commands/debate.md +157 -0
- package/.claude/commands/documentation/create-architecture-documentation.md +175 -0
- package/.claude/commands/dossiers.md +180 -0
- package/.claude/commands/evolve.md +223 -0
- package/.claude/commands/extract-dna.md +170 -0
- package/.claude/commands/extract-knowledge.md +507 -0
- package/.claude/commands/inbox.md +296 -0
- package/.claude/commands/ingest-empresa.md +191 -0
- package/.claude/commands/ingest.md +182 -0
- package/.claude/commands/jarvis-briefing.md +67 -0
- package/.claude/commands/jarvis-control.md +169 -0
- package/.claude/commands/jarvis-full.md +181 -0
- package/.claude/commands/jarvis.md +212 -0
- package/.claude/commands/ler-drive.md +212 -0
- package/.claude/commands/log.md +158 -0
- package/.claude/commands/loop.md +133 -0
- package/.claude/commands/loops.md +73 -0
- package/.claude/commands/mission-autopilot.md +538 -0
- package/.claude/commands/mission.md +353 -0
- package/.claude/commands/process-inbox.md +148 -0
- package/.claude/commands/process-jarvis.md +3036 -0
- package/.claude/commands/process-video.md +131 -0
- package/.claude/commands/rag-search.md +78 -0
- package/.claude/commands/resume.md +33 -0
- package/.claude/commands/save.md +38 -0
- package/.claude/commands/scan-inbox.md +125 -0
- package/.claude/commands/setup.md +99 -0
- package/.claude/commands/system-digest.md +243 -0
- package/.claude/commands/verify.md +182 -0
- package/.claude/commands/view-dna.md +169 -0
- package/.claude/hooks/agent_doctor.py +433 -0
- package/.claude/hooks/agent_memory_persister.py +203 -0
- package/.claude/hooks/auto_formatter.py +158 -0
- package/.claude/hooks/checkpoint_writer.py +244 -0
- package/.claude/hooks/claude_md_guard.py +146 -0
- package/.claude/hooks/creation_validator.py +357 -0
- package/.claude/hooks/enforce_dual_location.py +501 -0
- package/.claude/hooks/enforce_plan_mode.py +220 -0
- package/.claude/hooks/inbox_age_alert.py +367 -0
- package/.claude/hooks/jarvis_briefing.py +506 -0
- package/.claude/hooks/ledger_updater.py +301 -0
- package/.claude/hooks/memory_hints_injector.py +251 -0
- package/.claude/hooks/memory_updater.py +202 -0
- package/.claude/hooks/multi_agent_hook.py +464 -0
- package/.claude/hooks/notification_system.py +120 -0
- package/.claude/hooks/pattern_analyzer.py +526 -0
- package/.claude/hooks/pending_tracker.py +188 -0
- package/.claude/hooks/post_batch_cascading.py +1740 -0
- package/.claude/hooks/post_output_validator.py +358 -0
- package/.claude/hooks/post_tool_use.py +120 -0
- package/.claude/hooks/post_write_validator.py +200 -0
- package/.claude/hooks/quality_watchdog.py +394 -0
- package/.claude/hooks/ralph_wiggum.py +277 -0
- package/.claude/hooks/session-source-sync.py +218 -0
- package/.claude/hooks/session_autosave_v2.py +1135 -0
- package/.claude/hooks/session_end.py +203 -0
- package/.claude/hooks/session_start.py +939 -0
- package/.claude/hooks/skill_indexer.py +48 -0
- package/.claude/hooks/skill_router.py +358 -0
- package/.claude/hooks/stop_hook_completeness.py +178 -0
- package/.claude/hooks/subagent_tracker.py +163 -0
- package/.claude/hooks/token_checkpoint.py +584 -0
- package/.claude/hooks/user_prompt_submit.py +125 -0
- package/.claude/rules/ANTHROPIC-STANDARDS.md +384 -0
- package/.claude/rules/CLAUDE-LITE.md +201 -0
- package/.claude/rules/RULE-GROUP-1.md +320 -0
- package/.claude/rules/RULE-GROUP-2.md +307 -0
- package/.claude/rules/RULE-GROUP-3.md +248 -0
- package/.claude/rules/RULE-GROUP-4.md +427 -0
- package/.claude/rules/RULE-GROUP-5.md +388 -0
- package/.claude/rules/RULE-GROUP-6.md +387 -0
- package/.claude/rules/logging.md +53 -0
- package/.claude/rules/mcp-governance.md +128 -0
- package/.claude/rules/pipeline.md +60 -0
- package/.claude/rules/state-management.md +93 -0
- package/.claude/scripts/apply-tags.py +77 -0
- package/.claude/scripts/batch-extract-transcriptions.py +132 -0
- package/.claude/scripts/build-complete-index.py +250 -0
- package/.claude/scripts/build-planilha-index.py +170 -0
- package/.claude/scripts/complete-tag-matching.py +250 -0
- package/.claude/scripts/deduplicate-inbox.py +139 -0
- package/.claude/scripts/docx-xml-extractor.py +141 -0
- package/.claude/scripts/extract-docx-text.py +58 -0
- package/.claude/scripts/extract-single-transcription.py +74 -0
- package/.claude/scripts/extract_docx_from_gdrive.py +77 -0
- package/.claude/scripts/organized-downloader.py +246 -0
- package/.claude/scripts/planilha-tagger.py +187 -0
- package/.claude/scripts/revert-tags.py +70 -0
- package/.claude/scripts/source-sync.py +265 -0
- package/.claude/scripts/tag-inbox-files.py +276 -0
- package/.claude/scripts/tag-inbox-v2.py +253 -0
- package/.claude/scripts/test-extraction.py +35 -0
- package/.claude/scripts/test-full-extraction.py +74 -0
- package/.claude/skills/00-SKILL-CREATOR/SKILL.md +186 -0
- package/.claude/skills/01-SKILL-DOCS-MEGABRAIN/SKILL.md +251 -0
- package/.claude/skills/02-SKILL-PYTHON-MEGABRAIN/SKILL.md +323 -0
- package/.claude/skills/03-SKILL-AGENT-CREATION/SKILL.md +374 -0
- package/.claude/skills/04-SKILL-KNOWLEDGE-EXTRACTION/SKILL.md +318 -0
- package/.claude/skills/05-SKILL-PIPELINE-JARVIS/SKILL.md +430 -0
- package/.claude/skills/06-SKILL-BRAINSTORMING/SKILL.md +72 -0
- package/.claude/skills/07-SKILL-DISPATCHING-PARALLEL-AGENTS/SKILL.md +193 -0
- package/.claude/skills/08-SKILL-EXECUTING-PLANS/SKILL.md +114 -0
- package/.claude/skills/09-SKILL-WRITING-PLANS/SKILL.md +184 -0
- package/.claude/skills/10-SKILL-VERIFICATION-BEFORE-COMPLETION/SKILL.md +130 -0
- package/.claude/skills/11-SKILL-USING-SUPERPOWERS/SKILL.md +105 -0
- package/.claude/skills/DETECTION-PROTOCOL.md +217 -0
- package/.claude/skills/README.md +240 -0
- package/.claude/skills/SKILL-REGISTRY.md +284 -0
- package/.claude/skills/SKILL-SUGGESTIONS.md +114 -0
- package/.claude/skills/_TEMPLATES/SKILL-WRITER-GUIDE.md +385 -0
- package/.claude/skills/chronicler/SKILL.md +146 -0
- package/.claude/skills/chronicler/chronicler_core.py +468 -0
- package/.claude/skills/code-review/SKILL.md +160 -0
- package/.claude/skills/council/SKILL.md +210 -0
- package/.claude/skills/executor/SKILL.md +161 -0
- package/.claude/skills/fase-2-5-tagging/SKILL.md +182 -0
- package/.claude/skills/feature-dev/SKILL.md +154 -0
- package/.claude/skills/finance-agent/SKILL.md +137 -0
- package/.claude/skills/frontend-design/SKILL.md +165 -0
- package/.claude/skills/gdrive-transcription-downloader/SKILL.md +249 -0
- package/.claude/skills/gemini-fallback/SKILL.md +67 -0
- package/.claude/skills/gemini-fallback/gemini_fetch.py +0 -0
- package/.claude/skills/gha/SKILL.md +96 -0
- package/.claude/skills/gha/gha_diagnostic.py +227 -0
- package/.claude/skills/github-workflow/SKILL.md +190 -0
- package/.claude/skills/hookify/SKILL.md +134 -0
- package/.claude/skills/hybrid-source-reading/SKILL.md +265 -0
- package/.claude/skills/jarvis/SKILL.md +546 -0
- package/.claude/skills/jarvis-briefing/SKILL.md +340 -0
- package/.claude/skills/ler-planilha/SKILL.md +281 -0
- package/.claude/skills/plugin-dev/SKILL.md +176 -0
- package/.claude/skills/pr-review-toolkit/SKILL.md +178 -0
- package/.claude/skills/resume/SKILL.md +61 -0
- package/.claude/skills/save/SKILL.md +87 -0
- package/.claude/skills/skill-writer/SKILL.md +153 -0
- package/.claude/skills/skill-writer/examples.md +191 -0
- package/.claude/skills/skill-writer/troubleshooting.md +205 -0
- package/.claude/skills/smart-download-tagger/SKILL.md +148 -0
- package/.claude/skills/source-sync/SKILL.md +240 -0
- package/.claude/skills/sync-docs/SKILL.md +193 -0
- package/.claude/skills/sync-docs/config.json +37 -0
- package/.claude/skills/sync-docs/gdrive_sync.py +358 -0
- package/.claude/skills/sync-docs/reauth.py +71 -0
- package/.claude/skills/talent-agent/SKILL.md +183 -0
- package/.claude/skills/verify/SKILL.md +154 -0
- package/.claude/skills/verify/verify_runner.py +0 -0
- package/.claude/skills/verify-6-levels/SKILL.md +234 -0
- package/.claude/templates/BATCH-LOG-TEMPLATE.md +221 -0
- package/.claudeignore +9 -0
- package/.gitattributes +4 -0
- package/.github/layer1-allowlist.txt +80 -0
- package/.github/layer2-manifest.txt +40 -0
- package/.gitignore +219 -0
- package/README.md +1210 -0
- package/agents/_templates/INDEX.md +741 -0
- package/agents/_templates/TEMPLATE-AGENT-MD-ULTRA-ROBUSTO-V3.md +2399 -0
- package/agents/boardroom/CHECKLIST-MASTER.md +281 -0
- package/agents/boardroom/INTEGRATION-GUIDE.md +406 -0
- package/agents/boardroom/README.md +238 -0
- package/agents/boardroom/config/BOARDROOM-CONFIG.md +186 -0
- package/agents/boardroom/config/TTS-INTEGRATION.md +258 -0
- package/agents/boardroom/config/VOICE-PROFILES.md +624 -0
- package/agents/boardroom/config/voice_mapping.json +128 -0
- package/agents/boardroom/scripts/audio_generator.py +375 -0
- package/agents/boardroom/scripts/audio_generator_edge.py +353 -0
- package/agents/boardroom/scripts/jarvis_boardroom_hook.py +415 -0
- package/agents/boardroom/scripts/notebooklm_generator.py +578 -0
- package/agents/boardroom/templates/EPISODE-TEMPLATE.md +367 -0
- package/agents/boardroom/templates/scene-templates/SCENE-AGENT-DEBATE.md +252 -0
- package/agents/boardroom/templates/scene-templates/SCENE-COUNCIL.md +270 -0
- package/agents/boardroom/templates/scene-templates/SCENE-DNA-CONSULTATION.md +126 -0
- package/agents/boardroom/templates/scene-templates/SCENE-QUESTION.md +174 -0
- package/agents/boardroom/workflows/WORKFLOW-AUDIO-GENERATION.md +421 -0
- package/agents/constitution/BASE-CONSTITUTION.md +254 -0
- package/agents/council/CRITIC.md +197 -0
- package/agents/council/DEVILS-ADVOCATE.md +274 -0
- package/agents/council/SYNTHESIZER.md +293 -0
- package/agents/council/advogado-do-diabo/AGENT.md +489 -0
- package/agents/council/advogado-do-diabo/SOUL.md +100 -0
- package/agents/council/critico-metodologico/AGENT.md +670 -0
- package/agents/council/critico-metodologico/SOUL.md +107 -0
- package/agents/council/sintetizador/AGENT.md +558 -0
- package/agents/council/sintetizador/SOUL.md +94 -0
- package/agents/persons/_example/AGENT-EXAMPLE.md +42 -0
- package/agents/persons/_example/DNA-EXAMPLE.yaml +61 -0
- package/agents/protocols/AGENT-COGNITION-PROTOCOL.md +779 -0
- package/agents/protocols/AGENT-INTEGRITY-PROTOCOL.md +692 -0
- package/agents/protocols/BATCH-VISUAL-PROTOCOL.md +841 -0
- package/agents/protocols/DNA-CONFIG-TEMPLATE.yaml +181 -0
- package/agents/protocols/DNA-EXTRACTION-PROTOCOL.md +370 -0
- package/agents/protocols/EPISTEMIC-PROTOCOL.md +333 -0
- package/agents/protocols/LOG-STRUCTURE-PROTOCOL.md +65 -0
- package/agents/protocols/MEMORY-PROTOCOL.md +567 -0
- package/agents/protocols/NARRATIVE-SYNTHESIS-PROTOCOL.md +278 -0
- package/agents/protocols/PHASE-4-VERIFICATION-CHECKPOINT.md +146 -0
- package/agents/protocols/SOUL-TEMPLATE.md +416 -0
- package/agents/protocols/TEMPLATE-EVOLUTION-PROTOCOL.md +544 -0
- package/agents/protocols/VISUAL-DIFF-PROTOCOL.md +159 -0
- package/agents/sua-empresa/README.md +44 -0
- package/agents/sua-empresa/_example/jds/EXAMPLE-JD.md +42 -0
- package/agents/sua-empresa/_example/org/EXAMPLE-ORG.md +32 -0
- package/agents/sua-empresa/_example/roles/EXAMPLE-ROLE.md +38 -0
- package/bin/cli.js +2 -0
- package/bin/lib/ascii-art.js +234 -0
- package/bin/lib/installer.js +402 -0
- package/bin/lib/setup-wizard.js +95 -0
- package/bin/lib/validate-email.js +109 -0
- package/bin/mega-brain.js +97 -0
- package/bin/push.js +342 -0
- package/bin/templates/env.example +38 -0
- package/inbox/.gitkeep +0 -0
- package/integrations/README.md +46 -0
- package/integrations/mcps/MCP-REGISTRY.md +56 -0
- package/integrations/mcps/excalidraw/CONFIG.md +56 -0
- package/integrations/mcps/gdrive/CONFIG.md +38 -0
- package/knowledge/dna/.gitkeep +0 -0
- package/knowledge/dossiers/persons/.gitkeep +0 -0
- package/knowledge/dossiers/persons/DOSSIER-EXAMPLE.md +49 -0
- package/knowledge/dossiers/system/.gitkeep +0 -0
- package/knowledge/dossiers/themes/.gitkeep +0 -0
- package/knowledge/playbooks/.gitkeep +0 -0
- package/knowledge/playbooks/PLAYBOOK-EXAMPLE.md +50 -0
- package/knowledge/sources/.gitkeep +0 -0
- package/logs/.gitkeep +0 -0
- package/package.json +128 -0
- package/processing/canonical/.gitkeep +0 -0
- package/processing/chunks/.gitkeep +0 -0
- package/processing/insights/.gitkeep +0 -0
- package/processing/narratives/.gitkeep +0 -0
- package/reference/CONSELHO.md +337 -0
- package/reference/CONTEXT7_README.md +28 -0
- package/reference/JARVIS-LOGGING-PROTOCOL.md +380 -0
- package/reference/QUICK-START.md +197 -0
- package/reference/README-RALPH-CASCATEAMENTO.md +207 -0
- package/reference/TEMPLATE-MASTER.md +727 -0
- package/reference/prds/prd-jarvis-mega-brain-v3.md +1305 -0
- package/reference/templates/phase5/IMPLEMENTATION-GUIDE.md +355 -0
- package/reference/templates/phase5/MOGA-BRAIN-PHASE5-TEMPLATES.md +1284 -0
- package/reference/templates/phase5/README.md +165 -0
- package/reference/workflow-claude-code-boris-cherny-continuous-claude.md +2232 -0
- package/system/database/001_moneyclub_buyers.sql +160 -0
- package/system/database/002_premium_token.sql +97 -0
- package/system/database/apply-migration.mjs +129 -0
- package/system/docs/MEGA-BRAIN-DEMO-COMPLETA.md +1226 -0
- package/system/docs/MEGA-BRAIN-MANIFESTO-COMPLETO.md +1054 -0
- package/system/docs/MOGA-BRAIN-EXPLICACAO-COMPLETA.md +791 -0
- package/system/docs/STRATEGIC-INTEGRATION-GUIDE.md +725 -0
- package/system/docs/architecture/01-system-context.md +136 -0
- package/system/docs/architecture/02-components.md +225 -0
- package/system/docs/architecture/03-data-flow.md +235 -0
- package/system/docs/architecture/04-integrations.md +283 -0
- package/system/docs/architecture/README.md +71 -0
- package/system/docs/architecture/diagrams/component-diagram.mmd +50 -0
- package/system/docs/architecture/diagrams/data-flow.mmd +39 -0
- package/system/docs/architecture/diagrams/system-overview.mmd +68 -0
- package/system/protocols/AGENT-AUTHORITY.md +217 -0
- package/system/protocols/CONSTITUICAO-BASE.md +115 -0
- package/system/protocols/CONSTITUTION.md +231 -0
- package/system/protocols/GOVERNANCE-MAP.md +123 -0
- package/system/protocols/HOOK-SECURITY-THREAT-MODEL.md +152 -0
- package/system/protocols/ORQUESTRACAO-PROTOCOL.md +215 -0
- package/system/protocols/_archive/CHUNKING-PROTOCOL.md +207 -0
- package/system/protocols/_archive/ENTITY-RESOLUTION-PROTOCOL.md +269 -0
- package/system/protocols/_archive/INSIGHT-EXTRACTION-PROTOCOL.md +257 -0
- package/system/protocols/_archive/NARRATIVE-SYNTHESIS-PROTOCOL.md +290 -0
- package/system/protocols/agents/AGENT-INTERACTION.md +315 -0
- package/system/protocols/agents/CORTEX-PROTOCOL.md +520 -0
- package/system/protocols/agents/EPISTEMIC-PROTOCOL.md +465 -0
- package/system/protocols/agents/MEMORY-PROTOCOL.md +366 -0
- package/system/protocols/agents/WAR-ROOM.md +355 -0
- package/system/protocols/company/COMPANY-DOCUMENT-PROTOCOL.md +793 -0
- package/system/protocols/company/COMPANY-ENRICHMENT-PROTOCOL.md +679 -0
- package/system/protocols/conclave/CONCLAVE-LOG-TEMPLATE-v2.md +309 -0
- package/system/protocols/conclave/CONCLAVE-PROTOCOL.md +518 -0
- package/system/protocols/conclave/DEBATE-DYNAMICS-CONFIG.yaml +322 -0
- package/system/protocols/conclave/DEBATE-DYNAMICS-PROTOCOL.md +613 -0
- package/system/protocols/conclave/DEBATE-PROTOCOL.md +323 -0
- package/system/protocols/council/COUNCIL-LOG-TEMPLATE-v2.md +309 -0
- package/system/protocols/council/COUNCIL-PROTOCOL.md +518 -0
- package/system/protocols/council/DEBATE-DYNAMICS-CONFIG.yaml +322 -0
- package/system/protocols/council/DEBATE-DYNAMICS-PROTOCOL.md +613 -0
- package/system/protocols/council/DEBATE-PROTOCOL.md +323 -0
- package/system/protocols/dna/DNA-EXTRACTION-PROTOCOL.md +1214 -0
- package/system/protocols/dna/ENRICHMENT-PROTOCOL.md +408 -0
- package/system/protocols/dna/REASONING-MODEL-PROTOCOL.md +331 -0
- package/system/protocols/pipeline/DOSSIER-COMPILATION-PROTOCOL.md +790 -0
- package/system/protocols/pipeline/NARRATIVE-METABOLISM-PROTOCOL.md +292 -0
- package/system/protocols/pipeline/PIPELINE-JARVIS-v2.1.md +606 -0
- package/system/protocols/pipeline/PROMPT-1.1-CHUNKING.md +154 -0
- package/system/protocols/pipeline/PROMPT-1.2-ENTITY-RESOLUTION.md +186 -0
- package/system/protocols/pipeline/PROMPT-2.1-DNA-TAGS-INCREMENT.md +208 -0
- package/system/protocols/pipeline/PROMPT-2.1-INSIGHT-EXTRACTION.md +191 -0
- package/system/protocols/pipeline/PROMPT-3.1-NARRATIVE-SYNTHESIS.md +331 -0
- package/system/protocols/pipeline/SOURCES-COMPILATION-PROTOCOL.md +340 -0
- package/system/protocols/system/AUTO-LOG-PROTOCOL.md +369 -0
- package/system/protocols/system/CHECKPOINT-ENFORCEMENT.md +176 -0
- package/system/protocols/system/ENFORCEMENT.md +435 -0
- package/system/protocols/system/LOG-TEMPLATES.md +1068 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: finance-agent
|
|
3
|
+
version: 1.0.0
|
|
4
|
+
description: Ativa o AGENT-FINANCE para analise financeira da [SUA EMPRESA]. Calcula metricas, projeta cenarios, analisa investimentos.
|
|
5
|
+
triggers:
|
|
6
|
+
- financeiro
|
|
7
|
+
- mrr
|
|
8
|
+
- custos
|
|
9
|
+
- roi
|
|
10
|
+
- investimento
|
|
11
|
+
- runway
|
|
12
|
+
- burn rate
|
|
13
|
+
- projecao
|
|
14
|
+
- caixa
|
|
15
|
+
- orcamento
|
|
16
|
+
user_invocable: true
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# SKILL: Finance Agent - Analise Financeira
|
|
20
|
+
|
|
21
|
+
## Proposito
|
|
22
|
+
|
|
23
|
+
Ativar o AGENT-FINANCE para consultoria especializada em analise financeira, projecoes e decisoes de investimento.
|
|
24
|
+
|
|
25
|
+
## Quando Usar
|
|
26
|
+
|
|
27
|
+
- Analisar metricas financeiras (MRR, CAC, LTV, Churn)
|
|
28
|
+
- Projetar cenarios futuros
|
|
29
|
+
- Avaliar investimentos e ROI
|
|
30
|
+
- Calcular impacto de contratacoes
|
|
31
|
+
- Health check financeiro
|
|
32
|
+
- Analise de unit economics
|
|
33
|
+
|
|
34
|
+
## Contexto Obrigatorio
|
|
35
|
+
|
|
36
|
+
Antes de responder, CARREGAR:
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
OBRIGATORIO:
|
|
40
|
+
1. /[sua-empresa]/agents/AGENT-FINANCE.md (persona e frameworks)
|
|
41
|
+
2. /[sua-empresa]/[SUA EMPRESA]-CONTEXT.md (metricas atuais)
|
|
42
|
+
|
|
43
|
+
DADOS FINANCEIROS (via MCP gdrive):
|
|
44
|
+
- KPIs Master: 1I2GR7npvdEamVZJdGPbh1IfyYPW-_KcRyWFMCrs-OXo
|
|
45
|
+
- DRE 2025: 1kjSCf0m9sJ-3n8n9zXJg7jdfM4RP01OQ8-QS5HdiMhc
|
|
46
|
+
- Projecao Futura: 1iOBr7VS9wzr50ES_D764IphaE7aTUK5A40LBPd6ERcg
|
|
47
|
+
- Fluxo Caixa: 1P6n1GlgQw0shAk8q9h4QfD6uRmoAXpbrXVxyhyKB1IM
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Fluxo de Execucao
|
|
51
|
+
|
|
52
|
+
### 1. Identificar Tipo de Consulta
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
[ ] Health check financeiro
|
|
56
|
+
[ ] Analise de metricas especificas
|
|
57
|
+
[ ] Projecao de cenarios
|
|
58
|
+
[ ] Avaliacao de investimento
|
|
59
|
+
[ ] Impacto de decisao (contratacao, etc.)
|
|
60
|
+
[ ] Comparativo de opcoes
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### 2. Carregar Dados Relevantes
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
# Para metricas atuais
|
|
67
|
+
mcp__gdrive__gsheets_read(spreadsheetId: "1I2GR7npvdEamVZJdGPbh1IfyYPW-_KcRyWFMCrs-OXo")
|
|
68
|
+
|
|
69
|
+
# Para DRE
|
|
70
|
+
mcp__gdrive__gsheets_read(spreadsheetId: "1kjSCf0m9sJ-3n8n9zXJg7jdfM4RP01OQ8-QS5HdiMhc")
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### 3. Aplicar Framework de Analise
|
|
74
|
+
|
|
75
|
+
Para cada tipo de consulta, usar o framework correspondente do AGENT-FINANCE.md:
|
|
76
|
+
- Health Check Financeiro
|
|
77
|
+
- Analise de Investimento
|
|
78
|
+
- Projecao de Cenarios
|
|
79
|
+
|
|
80
|
+
### 4. Entregar com Rastreabilidade
|
|
81
|
+
|
|
82
|
+
Toda analise deve incluir:
|
|
83
|
+
- Fonte dos dados `^[FINANCE:fonte:campo]`
|
|
84
|
+
- Premissas explicitas
|
|
85
|
+
- Recomendacao clara
|
|
86
|
+
- Conexao com objetivo [META FINANCEIRA]
|
|
87
|
+
|
|
88
|
+
## Principios Inviolaveis
|
|
89
|
+
|
|
90
|
+
1. **Dados Reais** - Nunca assumir valores, sempre consultar fontes
|
|
91
|
+
2. **Conservadorismo** - Na duvida, cenario pessimista
|
|
92
|
+
3. **Transparencia** - Mostrar todas as premissas
|
|
93
|
+
4. **Acionavel** - Toda analise tem recomendacao
|
|
94
|
+
|
|
95
|
+
## Exemplo de Uso
|
|
96
|
+
|
|
97
|
+
**Usuario:** "/finance-agent Qual nosso runway atual?"
|
|
98
|
+
|
|
99
|
+
**JARVIS (como AGENT-FINANCE):**
|
|
100
|
+
```
|
|
101
|
+
## ANALISE DE RUNWAY
|
|
102
|
+
|
|
103
|
+
### DADOS ATUAIS
|
|
104
|
+
- Saldo projetado Jul/25: R$ 5.6M ^[FINANCE:[SUA EMPRESA]-CONTEXT:projecao]
|
|
105
|
+
- Custos fixos mensais: R$ 140K ^[FINANCE:[SUA EMPRESA]-CONTEXT:custos]
|
|
106
|
+
- Burn rate atual: R$ 140K/mes
|
|
107
|
+
|
|
108
|
+
### CALCULO
|
|
109
|
+
Runway = Saldo / Burn Rate
|
|
110
|
+
Runway = R$ 5.6M / R$ 140K = 40 meses
|
|
111
|
+
|
|
112
|
+
### STATUS
|
|
113
|
+
**Runway: 40 meses (ate Nov/2028)**
|
|
114
|
+
|
|
115
|
+
[ ] SAUDAVEL - Runway > 24 meses
|
|
116
|
+
|
|
117
|
+
### SENSIBILIDADE
|
|
118
|
+
- +10% custos: 36 meses
|
|
119
|
+
- +20% custos: 33 meses
|
|
120
|
+
- Contratacao de time (estimado): -7 meses
|
|
121
|
+
|
|
122
|
+
### RECOMENDACAO
|
|
123
|
+
Runway confortavel para expansao agressiva.
|
|
124
|
+
Monitorar burn rate mensalmente.
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Integracao com N8N
|
|
128
|
+
|
|
129
|
+
Alertas automaticos via workflow [SUA EMPRESA]-005-FinancialAlerts:
|
|
130
|
+
- MRR queda > 10%
|
|
131
|
+
- Churn > 10%
|
|
132
|
+
- Custos > 20% budget
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
**Ultima Atualizacao:** 2026-01-11
|
|
137
|
+
**User Story:** US-024
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# Frontend Design Skill
|
|
2
|
+
|
|
3
|
+
> **Auto-Trigger:** Quando usuário pedir UI, interface, design, frontend, componente visual, layout, CSS, styling
|
|
4
|
+
> **Keywords:** "frontend", "UI", "interface", "design", "componente", "visual", "CSS", "layout", "styling", "theme", "aesthetics"
|
|
5
|
+
> **Prioridade:** ALTA
|
|
6
|
+
> **Namespace:** [OFFICIAL]
|
|
7
|
+
> **Tools:** Read, Write, Edit, Glob, Grep, Bash
|
|
8
|
+
|
|
9
|
+
## Quando NÃO Ativar
|
|
10
|
+
|
|
11
|
+
- Tarefas puramente de backend/API sem componente visual
|
|
12
|
+
- Discussões sobre arquitetura de dados
|
|
13
|
+
- Debugging de lógica de negócio sem UI envolvida
|
|
14
|
+
- Quando usuário explicitamente pedir skill diferente
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Core Purpose
|
|
19
|
+
|
|
20
|
+
Creating distinctive, production-grade frontend interfaces with high design quality.
|
|
21
|
+
Guides developers in building **creative, polished code that avoids generic AI aesthetics.**
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Design Thinking Framework
|
|
26
|
+
|
|
27
|
+
Before implementation, establish context across these four areas:
|
|
28
|
+
|
|
29
|
+
### 1. Purpose & Audience
|
|
30
|
+
Identify what problem the interface solves and who uses it. Understanding the user context shapes every design decision.
|
|
31
|
+
|
|
32
|
+
### 2. Aesthetic Tone
|
|
33
|
+
Commit to a clear direction:
|
|
34
|
+
- Minimalist
|
|
35
|
+
- Maximalist
|
|
36
|
+
- Retro
|
|
37
|
+
- Brutalist
|
|
38
|
+
- Art Deco
|
|
39
|
+
- Glassmorphism
|
|
40
|
+
- Neomorphism
|
|
41
|
+
- Custom/Hybrid
|
|
42
|
+
|
|
43
|
+
### 3. Technical Constraints
|
|
44
|
+
Consider framework requirements, performance targets, and accessibility standards before diving into implementation.
|
|
45
|
+
|
|
46
|
+
### 4. Differentiation
|
|
47
|
+
What makes this design memorable? Identify the unique elements that will set this interface apart.
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Frontend Aesthetics Priorities
|
|
52
|
+
|
|
53
|
+
### Typography
|
|
54
|
+
Distinctive choices that elevate aesthetics.
|
|
55
|
+
|
|
56
|
+
**AVOID:** Inter, Roboto, Arial, system fonts (overused, generic)
|
|
57
|
+
|
|
58
|
+
**PREFER:** Purposeful font selections that match the aesthetic tone. Consider:
|
|
59
|
+
- Display fonts for headers
|
|
60
|
+
- Readable body fonts with character
|
|
61
|
+
- Variable fonts for flexibility
|
|
62
|
+
|
|
63
|
+
### Color & Theme
|
|
64
|
+
Cohesive palettes with dominant colors and sharp accents.
|
|
65
|
+
|
|
66
|
+
- Establish a clear primary color
|
|
67
|
+
- Use accent colors intentionally
|
|
68
|
+
- Consider dark/light mode from the start
|
|
69
|
+
- Avoid the "safe blue" default palette
|
|
70
|
+
|
|
71
|
+
### Motion
|
|
72
|
+
CSS animations with high-impact moments over scattered micro-interactions.
|
|
73
|
+
|
|
74
|
+
- Purposeful entrance animations
|
|
75
|
+
- Meaningful state transitions
|
|
76
|
+
- Avoid animation for animation's sake
|
|
77
|
+
- Consider reduced-motion preferences
|
|
78
|
+
|
|
79
|
+
### Spatial Composition
|
|
80
|
+
Embrace asymmetry, overlap, and grid-breaking elements.
|
|
81
|
+
|
|
82
|
+
- Break out of standard 12-column monotony
|
|
83
|
+
- Use negative space intentionally
|
|
84
|
+
- Layer elements for depth
|
|
85
|
+
- Consider viewport-relative sizing
|
|
86
|
+
|
|
87
|
+
### Visual Details
|
|
88
|
+
Atmosphere through gradients, textures, and contextual effects.
|
|
89
|
+
|
|
90
|
+
- Subtle gradients over flat colors
|
|
91
|
+
- Texture overlays for depth
|
|
92
|
+
- Contextual shadows and glows
|
|
93
|
+
- Micro-details that reward attention
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## Key Warnings
|
|
98
|
+
|
|
99
|
+
### What to AVOID
|
|
100
|
+
|
|
101
|
+
- Overused font families (Inter, Roboto, Arial)
|
|
102
|
+
- Clichéd color schemes (corporate blue, startup teal)
|
|
103
|
+
- Predictable layouts (centered hero, 3-column features)
|
|
104
|
+
- Cookie-cutter design patterns
|
|
105
|
+
- Generic component libraries without customization
|
|
106
|
+
- "Safe" design choices that blend in
|
|
107
|
+
|
|
108
|
+
### Complexity Matching
|
|
109
|
+
|
|
110
|
+
Match code complexity to aesthetic vision:
|
|
111
|
+
- **Minimalist designs:** Clean, efficient code with elegant simplicity
|
|
112
|
+
- **Maximalist designs:** Elaborate implementations with rich detail layers
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Implementation Guidelines
|
|
117
|
+
|
|
118
|
+
### Before Writing Code
|
|
119
|
+
|
|
120
|
+
1. **Sketch the vision** - Even mentally, know what you're building
|
|
121
|
+
2. **Identify hero elements** - What draws the eye first?
|
|
122
|
+
3. **Plan the hierarchy** - Visual importance should be clear
|
|
123
|
+
4. **Consider states** - Hover, active, loading, error, empty
|
|
124
|
+
|
|
125
|
+
### During Implementation
|
|
126
|
+
|
|
127
|
+
1. **Start with structure** - HTML semantics matter
|
|
128
|
+
2. **Build mobile-first** - Responsive by default
|
|
129
|
+
3. **Layer styles progressively** - Base → Theme → Variations
|
|
130
|
+
4. **Test in context** - Components rarely exist alone
|
|
131
|
+
|
|
132
|
+
### Code Quality
|
|
133
|
+
|
|
134
|
+
- Use CSS custom properties for theming
|
|
135
|
+
- Implement proper accessibility (ARIA, focus states)
|
|
136
|
+
- Optimize for performance (lazy loading, efficient animations)
|
|
137
|
+
- Document design decisions in code comments
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## Key Principle
|
|
142
|
+
|
|
143
|
+
> **"Bold maximalism and refined minimalism both work—the key is intentionality, not intensity."**
|
|
144
|
+
|
|
145
|
+
Every design choice should be deliberate. Whether you choose elaborate or simple, own that choice fully.
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## Example Prompts This Skill Handles
|
|
150
|
+
|
|
151
|
+
- "Crie uma interface de dashboard moderna"
|
|
152
|
+
- "Design a landing page for a SaaS product"
|
|
153
|
+
- "Preciso de um componente de card com visual premium"
|
|
154
|
+
- "Build a dark theme for this application"
|
|
155
|
+
- "Create an animated hero section"
|
|
156
|
+
- "Redesign this form to be more visually appealing"
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Integration Notes
|
|
161
|
+
|
|
162
|
+
This skill is part of the **Claude Code Official Skills** collection.
|
|
163
|
+
Namespace: `[OFFICIAL]` - Distinguishes from Mega Brain custom skills.
|
|
164
|
+
|
|
165
|
+
For custom Mega Brain skills, see: `/.claude/skills/`
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
# GDRIVE TRANSCRIPTION DOWNLOADER SKILL
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
name: gdrive-download
|
|
5
|
+
description: Baixa transcrições .docx do Google Drive via OAuth e converte para .txt
|
|
6
|
+
version: 2.0.0
|
|
7
|
+
author: JARVIS
|
|
8
|
+
created: 2026-01-08
|
|
9
|
+
updated: 2026-01-08
|
|
10
|
+
triggers:
|
|
11
|
+
- baixar transcrições
|
|
12
|
+
- download drive
|
|
13
|
+
- extrair transcrições
|
|
14
|
+
- baixar docx
|
|
15
|
+
- gdrive download
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## PROPÓSITO
|
|
19
|
+
|
|
20
|
+
Esta skill automatiza o download de transcrições .docx do Google Drive, extração de texto e salvamento como .txt no INBOX do Mega Brain.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## ⚠️ REGRA CRÍTICA: EVITAR DUPLICATAS
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
28
|
+
│ HIERARQUIA DE TRANSCRIÇÕES - BAIXAR APENAS UMA POR VÍDEO │
|
|
29
|
+
│ │
|
|
30
|
+
│ Quando uma pasta no Drive tem estrutura com subpastas: │
|
|
31
|
+
│ │
|
|
32
|
+
│ 📂 Pasta Principal/ │
|
|
33
|
+
│ ├── 📄 video1.docx ← Transcrição SIMPLES (só áudio) │
|
|
34
|
+
│ ├── 📄 video2.docx │
|
|
35
|
+
│ └── 📂 Transcrição Visual + Verbal/ │
|
|
36
|
+
│ ├── 📄 video1.docx ← Transcrição COMPLETA (áudio + tela) │
|
|
37
|
+
│ └── 📄 video2.docx │
|
|
38
|
+
│ │
|
|
39
|
+
│ REGRA: Priorizar Visual+Verbal, ignorar simples se ambas existem │
|
|
40
|
+
│ │
|
|
41
|
+
│ ALGORITMO: │
|
|
42
|
+
│ 1. Listar TODOS os arquivos (raiz + subpastas) │
|
|
43
|
+
│ 2. Identificar duplicatas pelo nome base do vídeo │
|
|
44
|
+
│ 3. Se duplicata existe: │
|
|
45
|
+
│ - Manter apenas o da pasta "Visual + Verbal" │
|
|
46
|
+
│ - Descartar o da raiz │
|
|
47
|
+
│ 4. Se não há duplicata: baixar normalmente │
|
|
48
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Por que isso importa:
|
|
52
|
+
- **151 vídeos** podem virar **302 arquivos** se baixar ambas versões
|
|
53
|
+
- Isso **infla artificialmente** os números
|
|
54
|
+
- A versão Visual+Verbal é **superior** (captura slides, texto na tela)
|
|
55
|
+
- Duplicatas poluem o INBOX e confundem o Pipeline
|
|
56
|
+
|
|
57
|
+
## QUANDO USAR
|
|
58
|
+
|
|
59
|
+
1. **Fase 1 - Download:** Quando precisar baixar transcrições faltantes
|
|
60
|
+
2. **Novos materiais:** Quando novas transcrições forem adicionadas ao Drive
|
|
61
|
+
3. **Retry de falhas:** Quando downloads anteriores falharam
|
|
62
|
+
4. **Atualização de inventário:** Após adicionar novos cursos/fontes
|
|
63
|
+
|
|
64
|
+
## ARQUITETURA
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
68
|
+
│ GDRIVE DOWNLOADER │
|
|
69
|
+
├─────────────────────────────────────────────────────────────────┤
|
|
70
|
+
│ │
|
|
71
|
+
│ INVENTÁRIO SCRIPT INBOX │
|
|
72
|
+
│ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
|
|
73
|
+
│ │ JSON │─────────────▶│ OAuth │────────────▶│ .txt │ │
|
|
74
|
+
│ │ fileIDs │ │ python │ │ files │ │
|
|
75
|
+
│ └─────────┘ └─────────┘ └─────────┘ │
|
|
76
|
+
│ │
|
|
77
|
+
│ system/ scripts/ inbox/ │
|
|
78
|
+
│ DRIVE-TRANS... download_all... [FONTE]/ │
|
|
79
|
+
│ │
|
|
80
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## COMPONENTES
|
|
84
|
+
|
|
85
|
+
### 1. Inventário de Transcrições
|
|
86
|
+
**Localização:** `system/DRIVE-TRANSCRIPTIONS-INVENTORY.json`
|
|
87
|
+
|
|
88
|
+
```json
|
|
89
|
+
{
|
|
90
|
+
"courses": {
|
|
91
|
+
"COURSE_KEY": {
|
|
92
|
+
"folder": "DESTINATION/PATH",
|
|
93
|
+
"count": N,
|
|
94
|
+
"files": [
|
|
95
|
+
{"id": "GOOGLE_DRIVE_FILE_ID", "name": "filename.docx"}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### 2. Script de Download
|
|
103
|
+
**Localização:** `scripts/download_all_transcriptions.py`
|
|
104
|
+
|
|
105
|
+
**Dependências:**
|
|
106
|
+
- python-docx (`pip install python-docx`)
|
|
107
|
+
- google-api-python-client (via gdrive_manager)
|
|
108
|
+
|
|
109
|
+
**Autenticação:**
|
|
110
|
+
- OAuth2 via `scripts/gdrive_manager.py`
|
|
111
|
+
- Token salvo em `~/.config/moga-brain-gdrive/token.json`
|
|
112
|
+
|
|
113
|
+
### 3. Sistema de Checkpoint
|
|
114
|
+
**Localização:** `.claude/mission-control/DOWNLOAD-CHECKPOINT.json`
|
|
115
|
+
|
|
116
|
+
Persiste:
|
|
117
|
+
- IDs de arquivos completados
|
|
118
|
+
- Arquivos que falharam (para retry)
|
|
119
|
+
- Último curso processado
|
|
120
|
+
|
|
121
|
+
## COMANDOS
|
|
122
|
+
|
|
123
|
+
### Listar cursos disponíveis
|
|
124
|
+
```bash
|
|
125
|
+
# From the project root
|
|
126
|
+
python3 scripts/download_all_transcriptions.py --list
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Baixar todos os cursos
|
|
130
|
+
```bash
|
|
131
|
+
python3 scripts/download_all_transcriptions.py --all
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### Baixar curso específico
|
|
135
|
+
```bash
|
|
136
|
+
python3 scripts/download_all_transcriptions.py --course COURSE_KEY
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Continuar de onde parou (resume)
|
|
140
|
+
```bash
|
|
141
|
+
python3 scripts/download_all_transcriptions.py --all --resume
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
## CURSOS MAPEADOS
|
|
145
|
+
|
|
146
|
+
| Course Key | Destino | Count |
|
|
147
|
+
|------------|---------|-------|
|
|
148
|
+
| SALES_TRAINING_BR | COLE GORDON/COURSES | 59 |
|
|
149
|
+
| JEREMY_HAYNES_SALES_TRAINING | JEREMY HAYNES/COURSES | 14 |
|
|
150
|
+
| JEREMY_MINER_7TH_LEVEL | JEREMY MINER/COURSES | 40 |
|
|
151
|
+
| ALEX_HORMOZI | ALEX HORMOZI/MARKETING | 2 |
|
|
152
|
+
| JEREMY_HAYNES_PROGRAM | JEREMY HAYNES PROGRAM/COURSES | 2 |
|
|
153
|
+
| COLE_GORDON_EXTRAS | COLE GORDON/MASTERMINDS | 6 |
|
|
154
|
+
|
|
155
|
+
## FLUXO DE EXECUÇÃO
|
|
156
|
+
|
|
157
|
+
```
|
|
158
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
159
|
+
│ 1. VERIFICAR INVENTÁRIO │
|
|
160
|
+
│ └─ Ler system/DRIVE-TRANSCRIPTIONS-INVENTORY.json │
|
|
161
|
+
├─────────────────────────────────────────────────────────────────┤
|
|
162
|
+
│ 2. CARREGAR CHECKPOINT │
|
|
163
|
+
│ └─ Verificar .claude/mission-control/DOWNLOAD-CHECKPOINT │
|
|
164
|
+
├─────────────────────────────────────────────────────────────────┤
|
|
165
|
+
│ 3. AUTENTICAR OAUTH │
|
|
166
|
+
│ └─ Via gdrive_manager.get_drive_service() │
|
|
167
|
+
├─────────────────────────────────────────────────────────────────┤
|
|
168
|
+
│ 4. PARA CADA ARQUIVO: │
|
|
169
|
+
│ ├─ Skip se já completado (checkpoint) │
|
|
170
|
+
│ ├─ Skip se arquivo já existe no destino │
|
|
171
|
+
│ ├─ Download .docx do Drive (binary) │
|
|
172
|
+
│ ├─ Extrair texto via python-docx │
|
|
173
|
+
│ ├─ Salvar como .txt no INBOX │
|
|
174
|
+
│ └─ Atualizar checkpoint │
|
|
175
|
+
├─────────────────────────────────────────────────────────────────┤
|
|
176
|
+
│ 5. GERAR SUMÁRIO │
|
|
177
|
+
│ └─ Downloaded / Skipped / Failed │
|
|
178
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
## TROUBLESHOOTING
|
|
182
|
+
|
|
183
|
+
### Token expirado
|
|
184
|
+
O script renova automaticamente. Se persistir:
|
|
185
|
+
```bash
|
|
186
|
+
rm ~/.config/moga-brain-gdrive/token.json
|
|
187
|
+
# Re-executar script (abrirá browser para autenticar)
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### Broken pipe errors
|
|
191
|
+
Arquivos grandes ou conexão instável. O checkpoint preserva progresso.
|
|
192
|
+
```bash
|
|
193
|
+
# Re-executar com resume
|
|
194
|
+
python3 scripts/download_all_transcriptions.py --all --resume
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### Arquivo não encontrado no Drive
|
|
198
|
+
Verificar se o fileId está correto no inventário.
|
|
199
|
+
```bash
|
|
200
|
+
# Buscar arquivo pelo ID
|
|
201
|
+
python3 -c "
|
|
202
|
+
from SCRIPTS.gdrive_manager import get_drive_service
|
|
203
|
+
svc = get_drive_service()
|
|
204
|
+
print(svc.files().get(fileId='FILE_ID_HERE').execute())
|
|
205
|
+
"
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
## ADICIONAR NOVOS CURSOS
|
|
209
|
+
|
|
210
|
+
1. Identificar pasta no Google Drive
|
|
211
|
+
2. Listar arquivos .docx com seus IDs
|
|
212
|
+
3. Adicionar ao inventário JSON:
|
|
213
|
+
```json
|
|
214
|
+
"NEW_COURSE_KEY": {
|
|
215
|
+
"folder": "FONTE/SUBPASTA",
|
|
216
|
+
"count": N,
|
|
217
|
+
"files": [...]
|
|
218
|
+
}
|
|
219
|
+
```
|
|
220
|
+
4. Mapear no script (COURSE_FOLDERS dict)
|
|
221
|
+
5. Executar download
|
|
222
|
+
|
|
223
|
+
## INTEGRAÇÃO COM PIPELINE
|
|
224
|
+
|
|
225
|
+
Após download, os arquivos .txt estão prontos para:
|
|
226
|
+
1. **Fase 2.5 - Tagging:** Adicionar [TAG] aos nomes
|
|
227
|
+
2. **Fase 3 - De-Para:** Validar planilha vs computador
|
|
228
|
+
3. **Fase 4 - Pipeline:** Processar chunks/insights
|
|
229
|
+
|
|
230
|
+
## MÉTRICAS DE SUCESSO
|
|
231
|
+
|
|
232
|
+
```
|
|
233
|
+
✅ 149/149 arquivos do inventário
|
|
234
|
+
✅ 0 falhas permanentes
|
|
235
|
+
✅ Checkpoint preservado para retry
|
|
236
|
+
✅ Estrutura de pastas correta no INBOX
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
## HISTÓRICO
|
|
240
|
+
|
|
241
|
+
| Data | Ação | Resultado |
|
|
242
|
+
|------|------|-----------|
|
|
243
|
+
| 2026-01-08 | Download inicial completo | 149 arquivos |
|
|
244
|
+
| 2026-01-05 | Criação do inventário | 149 entries |
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
**JARVIS SKILL v1.0.0**
|
|
249
|
+
*Automatizando downloads do Google Drive para o Mega Brain*
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gemini-fallback
|
|
3
|
+
description: Usa Gemini CLI para acessar sites bloqueados (Reddit, etc)
|
|
4
|
+
triggers:
|
|
5
|
+
- "buscar no reddit"
|
|
6
|
+
- "acessar site bloqueado"
|
|
7
|
+
- "gemini fetch"
|
|
8
|
+
- "/gemini"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Gemini CLI Fallback
|
|
12
|
+
|
|
13
|
+
Use este skill quando precisar acessar sites que Claude Code não consegue (Reddit, sites com bloqueio).
|
|
14
|
+
|
|
15
|
+
## Pré-requisitos
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Instalar Gemini CLI (se não instalado)
|
|
19
|
+
npm install -g @anthropic-ai/gemini-cli
|
|
20
|
+
# ou
|
|
21
|
+
pip install google-generativeai
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Como Usar
|
|
25
|
+
|
|
26
|
+
### Via Skill
|
|
27
|
+
```
|
|
28
|
+
/gemini [URL ou query]
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Exemplos
|
|
32
|
+
```
|
|
33
|
+
/gemini https://reddit.com/r/ClaudeAI/top
|
|
34
|
+
/gemini "melhores práticas claude code reddit"
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Execução
|
|
38
|
+
|
|
39
|
+
Quando acionado, este skill:
|
|
40
|
+
|
|
41
|
+
1. Verifica se Gemini CLI está disponível
|
|
42
|
+
2. Usa tmux para criar sessão isolada
|
|
43
|
+
3. Executa query via Gemini (que tem acesso web)
|
|
44
|
+
4. Captura e retorna o resultado
|
|
45
|
+
|
|
46
|
+
### Script de Execução
|
|
47
|
+
|
|
48
|
+
Execute o script auxiliar:
|
|
49
|
+
```bash
|
|
50
|
+
python3 .claude/skills/gemini-fallback/gemini_fetch.py "URL_OU_QUERY"
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Alternativa Manual
|
|
54
|
+
|
|
55
|
+
Se Gemini CLI não estiver disponível, use:
|
|
56
|
+
|
|
57
|
+
1. Abrir nova aba do terminal
|
|
58
|
+
2. Usar browser ou curl para acessar
|
|
59
|
+
3. Copiar conteúdo relevante
|
|
60
|
+
4. Colar no Claude Code
|
|
61
|
+
|
|
62
|
+
## Sites Comumente Bloqueados
|
|
63
|
+
|
|
64
|
+
- Reddit (r/ClaudeAI, r/LocalLLaMA)
|
|
65
|
+
- Twitter/X
|
|
66
|
+
- LinkedIn
|
|
67
|
+
- Alguns docs sites
|
|
File without changes
|