### Quick-Start Examples Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/wiki/prompts/catalogacao/prompt-bases-iconograficas-comparativas.md Concise query examples for single images, batch processing, and comparative analysis. ```text WebScout: Iconclass codes and sources for "No Martins Senhora Injustiça 2017 MASP" ``` ```text WebScout: Sources for 10 Brazilian Justice allegories 1890–1940 from Brasiliana Iconográfica and Pinacoteca digital. ``` ```text WebScout: Compare Marianne (France 1790s) vs. Brazilian República (1890s) iconography and legal codes. ``` -------------------------------- ### Quick installation commands (git clone, conda/pip, verification) Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/docs/MANUAL.md Clones the repository, creates a Python environment via conda or pip, and verifies the installation by running validation and status scripts. Choose either Option A (conda) or Option B (pip). ```bash git clone https://github.com/anavvanzin/iconocracy-corpus.git cd iconocracy-corpus # 2. Criar ambiente Python (escolha uma opção) # Opção A: conda conda env create -f environment.yml conda activate iconocracy # Opção B: pip python -m venv .venv source .venv/bin/activate pip install -r requirements.txt # 3. Verificar instalação python tools/scripts/validate_schemas.py data/processed/records.jsonl --schema master-record --verbose python tools/scripts/code_purification.py --status python tools/scripts/vault_sync.py status ``` -------------------------------- ### Example Integrated Prompt Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/vault/prompts/catalogacao/prompt-bases-iconograficas-comparativas.md A ready-to-use prompt template for initiating the WebScout and IconoCode pipeline. ```markdown **WebScout + IconoCode Pipeline** First, WebScout: query_type="image_source", target="female Justice allegory in Brazilian courthouse mural, ca. 1920", context="post-colonial adaptation of European Justitia", constraints="ABNT citations; museum records preferred". Then IconoCode: Use WebScout results to code [IMAGE_URL]. ``` -------------------------------- ### WebScout Execution Step 1 Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/wiki/prompts/catalogacao/prompt-bases-iconograficas-comparativas.md Example command to initiate a WebScout search for specific iconographic elements. ```text WebScout: Find sources and Iconclass codes for "seated female figure with scales, sword, and Brazilian flag colors, 1890s painting" ``` -------------------------------- ### Launch pilot SFT training with train_iconocracy_sft.py Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/tools/configs/training/iconocracy_eval_example_commands.txt Starts a pilot SFT training run using the configuration file tools/configs/training/iconocracy_qwen25_3b_qlora_pilot.json. ```bash python tools/scripts/train_iconocracy_sft.py \ --config tools/configs/training/iconocracy_qwen25_3b_qlora_pilot.json ``` -------------------------------- ### SSH: setup e treinamento do piloto (config iconocracy_qwen25_3b_qlora_pilot.json) Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/docs/superpowers/specs/2026-04-11-iconocracy-remote-pilot-guide.md Comandos para clonar o repositório, criar o ambiente virtual, instalar as dependências e rodar o treino do piloto using Qwen2.5-3B-Instruct com o config especificado. Execute em um box com GPU de 24 GB VRAM, CUDA e Python 3.10+ ou 3.11+. ```bash git clone https://github.com/anavvanzin/iconocracy-corpus.git cd iconocracy-corpus python3 -m venv .venv source .venv/bin/activate pip install --upgrade pip pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121 pip install transformers datasets peft accelerate trl bitsandbytes sentencepiece python tools/scripts/train_iconocracy_sft.py --config tools/configs/training/iconocracy_qwen25_3b_qlora_pilot.json ``` -------------------------------- ### Installation Commands Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/wiki/obsidian-deep-research/README.md Commands to install the obsidian-deep-research plugin via the plugin marketplace or CLI. ```bash /plugin marketplace add alvdef/obsidian-deep-research /plugin install obsidian-deep-research@alvdef ``` -------------------------------- ### WebScout to IconoCode Integration Step 2 Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/wiki/prompts/catalogacao/prompt-bases-iconograficas-comparativas.md Example command to pass the WebScout JSON output to the IconoCode agent for analysis. ```text [PASTE WEBSCOUT JSON HERE] IconoCode: Analyze this image [IMAGE_URL] using the provided web evidence. ``` -------------------------------- ### Install dependencies and run iconocracy-ingest pipeline Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/iconocracy-ingest/README.md Commands to install required dependencies, set up Tesseract OCR, and execute the ingestion pipeline with various configuration options. ```bash # Install dependencies pip install -r requirements.txt # Ensure Tesseract + language packs are installed sudo apt install tesseract-ocr tesseract-ocr-por tesseract-ocr-spa \ tesseract-ocr-fra tesseract-ocr-ita tesseract-ocr-deu tesseract-ocr-lat \ poppler-utils # Preview what would be processed (no OCR) python ingest.py /path/to/new/batch --dry-run # Run the pipeline python ingest.py /path/to/new/batch # Custom output directory python ingest.py /path/to/batch --output /path/to/project/output # Move files instead of copying python ingest.py /path/to/batch --no-copy # Custom confidence threshold (default: 60) python ingest.py /path/to/batch --confidence 70 # Verbose logging python ingest.py /path/to/batch -v ``` -------------------------------- ### Research Session Opening Workflow Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/docs/COOKBOOK.md Commands to initialize the environment and check the status of the corpus at the start of a session. ```bash # 1. Ativar ambiente conda activate iconocracy cd ~/Research/iconocracy-corpus # 2. Verificar estado do corpus python tools/scripts/validate_schemas.py data/processed/records.jsonl --schema master-record # 3. Ver o que ficou pendente git status cat docs/T3-coding-queue.md | head -20 # fila de codificação ``` -------------------------------- ### Deployment Commands Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/deploy/tropical-atlas/README.md Commands to install dependencies, apply D1 database migrations, and deploy the project to Cloudflare Pages. ```bash cd deploy/tropical-atlas npm install # Apply D1 migration (once): npx wrangler d1 execute iconocracy-corpus --file=migrations/0001_atlas_entries.sql # Deploy Pages: npx wrangler pages deploy public --project-name=tropical-atlas ``` -------------------------------- ### Install dependencies with pip Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/tools/scripts/README-lpai-proxy.md Installs at least the dependencies declared in requirements.txt when Conda is not available. ```bash python -m pip install -r requirements.txt ``` -------------------------------- ### Install llama-cpp-python with Metal support Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/docs/T3-GEMMA4-WORKFLOW.md One-time installation of llama-cpp-python with Metal acceleration using CMAKE_ARGS. The command compiles locally and installs from requirements-iconocode-gemma4.txt into the iconocracy conda environment. The main requirements.txt is left unchanged. ```bash CMAKE_ARGS="-DLLAMA_METAL=on" \ /opt/homebrew/Caskroom/miniforge/base/envs/iconocracy/bin/pip install \ -r requirements-iconocode-gemma4.txt ``` -------------------------------- ### museum-digital tags example Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/docs/methodology/heuristics-recodification.md Example of controlled terms in the tags field, mapping directly to codebook attributes. ```json ["Allegorie", "Gerechtigkeit", "Frau", "Waage", "Schwert"] ``` -------------------------------- ### V&A depicts field example for a medal Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/docs/methodology/heuristics-recodification.md Example of the depicts field from the V&A API for a medal. Maps to familia_alegorica: Nacional and subtipo: Britannia. ```json "depicts": [{"name": "Britannia", "role": "depicted"}, {"name": "George III", "role": "depicted"}] ``` -------------------------------- ### Inspect the top of the manifest Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/docs/ARGOS_RUNBOOK.md Use Python's json.tool to pretty-print the first 40 lines of the manifest. ```bash python -m json.tool data/raw/argos/manifest.json | head -n 40 ``` -------------------------------- ### Quality Control Report JSON Example Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/wiki/prompts/corpus/iconographic-corpus-agent-prompts.md Example JSON structure for a quality control report, including quality issues counts, flagged records with recommendations, and corpus statistics. ```json { "report_date": "2026-02-26", "total_records": 342, "quality_issues": { "missing_iconclass_codes": 12, "missing_source_url": 5, "invalid_date_format": 8, "missing_abnt_citations": 3, "unresolved_getty_uris": 2 }, "flagged_records": [ { "image_id": "IMG_0087", "issue": "missing_iconclass_codes", "recommendation": "Assign Iconclass codes using Agent 1, prioritize 11MM44 for Justice figure" }, { "image_id": "IMG_0134", "issue": "invalid_date_format", "current_value": "c. 1850", "recommendation": "Convert to ISO 8601: '1850' with uncertainty flag in separate field" } ], "corpus_statistics": { "by_century": { "18th": 45, "19th": 189, "20th": 98, "21st": 10 }, "by_country": { "France": 112, "Brazil": 67, "Germany": 54, "Netherlands": 43, "USA": 38, "Other": 28 }, "by_iconographic_type": { "Justice": 178, "Nation/Republic": 98, "Law/Legal Authority": 43, "Hybrid/Ambiguous": 23 }, "attribute_frequency": { "scales": 156, "sword": 145, "blindfold": 87, "fasces": 34, "law_tablet": 29, "crown": 67 } } } ``` -------------------------------- ### GitKraken CLI workflow overview Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/wiki/prompts/meta/auth-gh-cli-howto.md A mini-tutorial showing the complete GitKraken CLI workflow: authenticate, navigate to repo, create work item, edit files, commit with AI, push, and create PR with AI. This is the initial prompt content. ```bash # \# Authenticate gk auth login \# Navigate to a git repo directory on your filesystem cd ./path/to/repo \# Then create a Work Item and the current directory \# will be automatically added to the Work Item gk work create "My new work item" \# Edit files... \# ... \# Commit your changes using AI gk work commit --ai \# Push your changes gk work push \# Create a Pull Request gk work pr create --ai ``` -------------------------------- ### Learning Stage with Guided Questions and Note-taking Source: https://github.com/anavvanzin/iconocracy-corpus/blob/main/corpus/atlas-iconometrico.html This snippet shows the learning stage UI with three guiding questions and a note-taking area with three textareas for description, comparison, and hypothesis. It uses React state and onChange handlers to update notes. ```jsx ``` ```jsx
3 · Sua primeira leitura
Registre separadamente descrição, contraste e hipótese. Primeiro a sua leitura, depois o apoio externo.