sc-blueprint-extractor
Extract and analyze Star Citizen game data using StarBreaker.
Install
mkdir -p .claude/skills/sc-blueprint-extractor && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13102" && unzip -o skill.zip -d .claude/skills/sc-blueprint-extractor && rm skill.zipInstalls to .claude/skills/sc-blueprint-extractor
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Extract Star Citizen blueprint and mission reward data from Data.p4k/Game2.dcb using StarBreaker, then generate candidate reports for blueprint pool maintenance.Key capabilities
- →Locate StarBreaker executable and Data.p4k file
- →Extract `Game2.dcb` from `Data.p4k` using StarBreaker
- →Export or inspect DCB contents
- →Discover new blueprint mission candidates
- →Infer blueprint pools from contracts
- →Generate extraction and review reports
How it works
The skill uses StarBreaker to extract game data, then runs Python scripts to analyze blueprints, mission rewards, and contract links, generating reports.
Inputs & outputs
When to use sc-blueprint-extractor
- →Extracting new patch data
- →Generating blueprint reports
- →Updating blueprint templates
About this skill
Purpose
Use this skill after a new Star Citizen patch to inspect game data related to blueprints, mission rewards, crafting pools, mission descriptions and contract links.
This skill is focused on discovery and reporting.
It must not directly rewrite source/blueprints/blueprints_template.ini or source/blueprints/pools.json unless explicitly instructed.
StarBreaker location
The repository-local StarBreaker executable is:
tools/starbreaker.exe
Always prefer this executable over any globally installed starbreaker.
Do not assume starbreaker exists in PATH.
Data policy
Large and temporary extraction artifacts must stay outside the repository under:
/data/starcitizen/
This includes:
- temporary StarBreaker extraction folders
- raw extracted P4K contents
Game2.dcb- exported DCB JSON/XML
- blueprint discovery dumps
- cache files
- patch comparison workspaces
Small human-readable reports may be copied into:
informes/
Do not generate large extracted files inside the repository.
Inputs
tools/starbreaker.exe- Star Citizen
Data.p4k input/current/global.inisource/blueprints/blueprints_template.inisource/blueprints/pools.json- Script layout:
- Core:
.codex/skills/sc-blueprint-extractor/scripts/core/extract_blueprints.py.codex/skills/sc-blueprint-extractor/scripts/core/extract_blueprints.ps1.codex/skills/sc-blueprint-extractor/scripts/core/scan_game2_text.py.codex/skills/sc-blueprint-extractor/scripts/core/runtime_support.py.codex/skills/sc-blueprint-extractor/scripts/core/dcb_text_support.py.codex/skills/sc-blueprint-extractor/scripts/core/blueprint_pool_source.py
- Review:
.codex/skills/sc-blueprint-extractor/scripts/review/blueprint_mission_review.py.codex/skills/sc-blueprint-extractor/scripts/review/run_review_suite.py.codex/skills/sc-blueprint-extractor/scripts/review/extract_mission_contract_links.py.codex/skills/sc-blueprint-extractor/scripts/review/infer_blueprint_pools_from_contracts.py.codex/skills/sc-blueprint-extractor/scripts/review/blueprint_reward_pool_review.py.codex/skills/sc-blueprint-extractor/scripts/review/extract_blueprint_mission_rewards.py- Compatibility wrappers:
.codex/skills/sc-blueprint-extractor/scripts/review/discover_new_blueprint_mission_candidates.py.codex/skills/sc-blueprint-extractor/scripts/review/build_blueprint_shortlist.py.codex/skills/sc-blueprint-extractor/scripts/review/discover_blueprint_reward_pools.py.codex/skills/sc-blueprint-extractor/scripts/review/build_blueprint_pool_draft.py
- Maintenance:
.codex/skills/sc-blueprint-extractor/scripts/maintenance/normalize_blueprints_overlay.py.codex/skills/sc-blueprint-extractor/scripts/maintenance/generate_blueprints_overlay.py.codex/skills/sc-blueprint-extractor/scripts/maintenance/bootstrap_blueprint_pools.py.codex/skills/sc-blueprint-extractor/scripts/maintenance/split_blueprint_pool_source.py
- Core:
Outputs
Primary runtime outputs:
/data/starcitizen/extracts/current/game2/Game2.dcb/data/starcitizen/extracts/current/game2/exported//data/starcitizen/reports/blueprints/
Repository reports:
informes/BLUEPRINTS_EXTRACTION_REPORT.mdinformes/BLUEPRINTS_NEW_MISSION_CANDIDATES.mdinformes/MISSION_CONTRACT_LINKS_FROM_GAME2.mdinformes/MISSION_CONTRACT_LINKS_SUMMARY.mdinformes/BLUEPRINTS_CONTRACT_TO_POOL_INFERENCE.md
Critical rules
- Never modify
Data.p4k. - Never write into the Star Citizen installation folder.
- Never place large extraction artifacts inside the repository.
- Never assume DCB structured parsing is reliable.
- Prefer text-window discovery from
Game2.dcbif structured record parsing fails. - Do not automatically apply candidate pools to
blueprints_template.ini. - Do not automatically modify
pools.json. - Treat inferred pools as candidates unless evidence is strict and explicitly reviewed.
- Keep
source/shared/overlays/blueprints.inias a generated artifact, not the source of truth.
Source of truth
The project source of truth for blueprint overlays is:
source/blueprints/blueprints_template.inisource/blueprints/pools.json
The generated shared overlay is:
source/shared/overlays/blueprints.ini
This generated overlay is for inspection/build compatibility and should not be treated as the canonical editable source.
Main workflow
Step 1 - Locate tools and paths
Verify:
tools/starbreaker.exeexists- Star Citizen
Data.p4kexists input/current/global.iniexistssource/blueprints/blueprints_template.iniexistssource/blueprints/pools.jsonexists
Preferred Data.p4k resolution order:
- explicit CLI argument or user-provided path
SC_DATA_P4Kenvironment variable- common LIVE path:
C:\Program Files\Roberts Space Industries\StarCitizen\LIVE\Data.p4k
Step 2 - Extract Game2.dcb
Extract Game2.dcb from the current patch using StarBreaker.
Preferred entrypoint:
python .codex/skills/sc-blueprint-extractor/scripts/core/extract_blueprints.py
Compatibility wrapper:
.codex/skills/sc-blueprint-extractor/scripts/core/extract_blueprints.ps1
Temporary extraction root:
/data/starcitizen/extracts/current/game2/raw/
Final normalized DCB path:
/data/starcitizen/extracts/current/game2/Game2.dcb
Do not copy Game2.dcb into the repository.
Step 3 - Export or inspect DCB
Attempt StarBreaker DCB export to:
/data/starcitizen/extracts/current/game2/exported/
If structured export is incomplete, corrupt, or unreliable, fall back to binary/text-window scanning of Game2.dcb.
Known useful discovery targets:
- localization keys ending in
_title - localization keys ending in
_desc ContractGenerator.*contractgenerator/*.xmlmissiondata/*.xmlBP_MISSIONREWARD_*item_*- reward pool references
Step 4 - Candidate discovery
Use input/current/global.ini as the localization surface.
Find mission descriptions and titles that may expose blueprint rewards.
Compare against:
source/blueprints/blueprints_template.inisource/blueprints/pools.json
Generate candidate reports for:
- mission keys present in
global.inibut absent from blueprint template - descriptions likely containing blueprint rewards
- contract links found near mission title/desc keys
- missiondata links found near mission title/desc keys
- possible pool inference by contract and missiondata
- unknown or ambiguous pools
Step 5 - Pool inference
If helper scripts exist, prefer them over reinventing logic:
.codex/skills/sc-blueprint-extractor/scripts/review/run_review_suite.py- Si solo quieres discovery de nuevas misiones, usa
.codex/skills/sc-blueprint-extractor/scripts/review/blueprint_mission_review.py --mode discover - Si solo quieres inferencia final por contratos, usa
.codex/skills/sc-blueprint-extractor/scripts/review/infer_blueprint_pools_from_contracts.py
Inference confidence levels:
strict: exact contractgenerator + exact missiondata + known template mappingcontract-only: exact contractgenerator match but no missiondata confirmationfamily-rule: explicit known family resolverheuristic: text or faction similarity onlyunknown: no useful evidence
Only strict candidates should be proposed as ready for review.
Never auto-apply contract-only, family-rule, heuristic, or unknown candidates without explicit instruction.
Step 6 - Reports
Generate a primary report:
informes/BLUEPRINTS_EXTRACTION_REPORT.md
The report must include:
- timestamp
- Data.p4k path used
- StarBreaker path used
- extracted Game2.dcb path
- whether DCB export succeeded
- whether fallback text scanning was used
- total candidate mission keys
- total contract links found
- total missiondata links found
- total inferred strict candidates
- total ambiguous candidates
- total unknown candidates
- generated report paths
- recommended next actions
Report naming
Large machine-readable reports should go under:
/data/starcitizen/reports/blueprints/
Small review reports should go under:
informes/
Patch comparison
If previous extraction data exists under:
/data/starcitizen/extracts/previous/
the skill may compare current vs previous and report:
- new mission keys
- removed mission keys
- changed descriptions
- new contractgenerator paths
- new missiondata paths
- new pool IDs
Do not delete previous extraction data unless explicitly requested.
Project memory
After a successful run, update:
informes/project_memory.local.md
with:
- last blueprint extraction timestamp
- Data.p4k path used
- Game2.dcb extracted path
- candidate counts
- strict inference count
- ambiguous/unknown count
- generated reports
- next recommended action
When not to use it
- →When the user intends to directly rewrite `source/blueprints/blueprints_template.ini`
- →When the user intends to directly modify `source/blueprints/pools.json`
- →When the user intends to modify `Data.p4k`
Limitations
- →Never modify `Data.p4k`
- →Never write into the Star Citizen installation folder
- →Never place large extraction artifacts inside the repository
How it compares
This skill automates the extraction and analysis of specific game data for Star Citizen, providing structured reports instead of manual data inspection.
Compared to similar skills
sc-blueprint-extractor side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| sc-blueprint-extractor (this skill) | 0 | 1mo | Review | Advanced |
| data-engineering | 13 | 7mo | Review | Advanced |
| crawl4ai | 21 | 8mo | Review | Intermediate |
| data-cleaning-pipeline | 13 | 5mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
data-engineering
pluginagentmarketplace
ETL pipelines, Apache Spark, data warehousing, and big data processing. Use for building data pipelines, processing large datasets, or data infrastructure.
crawl4ai
basher83
This skill should be used when users need to scrape websites, extract structured data, handle JavaScript-heavy pages, crawl multiple URLs, or build automated web data pipelines. Includes optimized extraction patterns with schema generation for efficient, LLM-free extraction.
data-cleaning-pipeline
aj-geddes
Build robust processes for data cleaning, missing value imputation, outlier handling, and data transformation for data preprocessing, data quality, and data pipeline automation
paddle-ocr-validation
jgtolentino
PaddleOCR-based receipt and BIR form extraction with validation
apify
vm0-ai
Web scraping and automation platform with pre-built Actors for common tasks
ocr
trpc-group
Extract text from images using Tesseract OCR