Rust Path Types
openinterpreter/openinterpreter
Rules for choosing Rust types for filesystem paths in new Codex code, covering protocol types, internal use and model tool arguments.
Add a post-ingestion typed analysis job to a Cartography module to enrich the graph after sync.
$ npx skills add cartography-cncf/cartography --skill analysis-jobs -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install cartography-cncf/cartography analysis-jobs --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/cartography-cncf/cartography.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/analysis-jobs .claude/skills/analysis-jobs && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "analysis-jobs" agent skill from https://github.com/cartography-cncf/cartography/tree/master/.agents/skills/analysis-jobs into .claude/skills/analysis-jobs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "analysis-jobs", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/cartography-cncf/cartography/tree/master/.agents/skills/analysis-jobsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add cartography-cncf/cartography --skill analysis-jobs -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install cartography-cncf/cartography analysis-jobs --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cartography-cncf/cartography.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/analysis-jobs .agents/skills/analysis-jobs && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "analysis-jobs" agent skill from https://github.com/cartography-cncf/cartography/tree/master/.agents/skills/analysis-jobs into .agents/skills/analysis-jobs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "analysis-jobs", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cartography-cncf/cartography --skill analysis-jobs -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install cartography-cncf/cartography analysis-jobs --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cartography-cncf/cartography.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/analysis-jobs .cursor/skills/analysis-jobs && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "analysis-jobs" agent skill from https://github.com/cartography-cncf/cartography/tree/master/.agents/skills/analysis-jobs into .cursor/skills/analysis-jobs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "analysis-jobs", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/cartography-cncf/cartography.git --path .agents/skills/analysis-jobs--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add cartography-cncf/cartography --skill analysis-jobs -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install cartography-cncf/cartography analysis-jobs --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cartography-cncf/cartography.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/analysis-jobs .gemini/skills/analysis-jobs && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "analysis-jobs" agent skill from https://github.com/cartography-cncf/cartography/tree/master/.agents/skills/analysis-jobs into .gemini/skills/analysis-jobs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "analysis-jobs", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install cartography-cncf/cartography analysis-jobsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add cartography-cncf/cartography --skill analysis-jobs -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/cartography-cncf/cartography.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/analysis-jobs .github/skills/analysis-jobs && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "analysis-jobs" agent skill from https://github.com/cartography-cncf/cartography/tree/master/.agents/skills/analysis-jobs into .github/skills/analysis-jobs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "analysis-jobs", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cartography-cncf/cartography --skill analysis-jobs -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install cartography-cncf/cartography analysis-jobs --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cartography-cncf/cartography.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/analysis-jobs .opencode/skills/analysis-jobs && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "analysis-jobs" agent skill from https://github.com/cartography-cncf/cartography/tree/master/.agents/skills/analysis-jobs into .opencode/skills/analysis-jobs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "analysis-jobs", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
analysis-jobsAdd a post-ingestion typed analysis job to a Cartography module to enrich the graph after sync.
Analysis Jobs is an agent skill from cartography-cncf/cartography. Add a post-ingestion typed analysis job to a Cartography module to enrich the graph after sync. Use when the user asks to compute internet exposure, propagate inherited permissions, link Human / canonical ontology nodes, score risk, or add cross-resource analysis after data is loaded.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/examples.md`).
The repository describes itself as: Cartography is a Python tool that pulls infrastructure assets and their relationships into a Neo4j graph database. The licence is Apache-2.0.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 0975e95. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Analysis Jobs loads about 2k tokens when it runs, and up to ~3.3k if it reads all its reference files. Until then it costs about 75 tokens; SKILL.md has 660 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from cartography-cncf/cartography at commit 0975e95, republished under its Apache-2.0 licence (© cartography-cncf). 660 words, ~2,038 tokens.
.claude/skills/analysis-jobs/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Analysis jobs are post-ingestion typed Python definitions under cartography/analysis/*/analysis.py that enrich the graph with computed relationships and properties. Custom JSON jobs are still supported for local extensions and legacy cleanup. They run after data is loaded and perform cross-node work that cannot be done during the initial load.
Use them when you need to:
Do NOT use analysis jobs for:
add-relationship).transform().run_typed_analysis_job; the scope lives on AnalysisJob.scope. Use dependency checking (run_typed_analysis_and_ensure_deps) when a job needs specific upstream modules.COUNT(*) AS TotalCompleted.__comment__.REMOVE n.attr), then SET. Cleanup of attributes can usually run in a single transaction.WHERE r.lastupdated <> $UPDATE_TAG). Iterative DELETE commits per batch, so a leading DELETE of relationships exposes a graph with those edges missing to concurrent readers until the MERGE finishes. MERGE is idempotent and bumps r.lastupdated, so the trailing DELETE only targets edges that genuinely no longer have a current basis. Canonical example: AWS_LAMBDA_ECR in cartography/analysis/aws/analysis.py.| Type | Runs | Location | Helper |
|---|---|---|---|
| Global | Once after all accounts / projects | cartography/analysis/*/analysis.py | run_typed_analysis_job() |
| Scoped | Once per account / project / tenant | cartography/analysis/*/analysis.py | run_typed_analysis_job() |
Examples:
AnalysisJob(
name="Human-readable name for logging",
short_name="your_module_exposure_analysis",
statements=(
AnalysisStatement(
match="MATCH (n:NodeType) WHERE ...",
effects=(SetProperty("n", "property", True, label="NodeType"),),
),
),
)Typed jobs read as:
AnalysisJob(scope=CleanupScopedTo(...))
-> AnalysisStatement(match="MATCH ...", effects=(...))
-> SetProperty / AddToSet / AddValuesToSet / AddRelationship / SetRelationshipPropertylabel is required for node-property effects so cleanup knows which label owns the property. Plain strings become quoted Cypher strings. Use Var("node.property"), Param("UPDATE_TAG"), or RawCypher("coalesce(...)") when the value should compile as Cypher.
CleanupScopedTo(...) on the job defines the account/project/tenant boundary used by generated cleanup. scoped_to="source" or "target" on AddRelationship chooses which endpoint is attached to that scoped resource; keep the default source unless the target node is the scoped resource.
Non-iterative - single execution, OK for queries touching a manageable number of nodes:
AnalysisStatement(
match="MATCH (instance:GCPInstance) WHERE ...",
effects=(SetProperty("instance", "exposed_internet", True, label="GCPInstance"),),
)Iterative raw query - required for large raw statements. Must return TotalCompleted:
AnalysisStatement(
query="MATCH (n:Node) WHERE n.stale = true WITH n LIMIT $LIMIT_SIZE DELETE n RETURN COUNT(*) AS TotalCompleted",
iterative=True,
iterationsize=1000,
)common_job_parameters is forwarded into the query. Typical params:
-- $UPDATE_TAG - current sync timestamp.
-- $LIMIT_SIZE - set automatically by the iterative runner.
$AWS_ID, $PROJECT_ID, ...).from cartography.util import run_typed_analysis_job
from cartography.analysis.your_module.analysis import YOUR_MODULE_EXPOSURE_ANALYSIS
@timeit
def start_your_module_ingestion(neo4j_session: neo4j.Session, config: Config) -> None:
common_job_parameters = {"UPDATE_TAG": config.update_tag}
for account in accounts:
_sync_one_account(neo4j_session, account, config.update_tag, common_job_parameters)
run_typed_analysis_job(
YOUR_MODULE_EXPOSURE_ANALYSIS,
neo4j_session,
common_job_parameters,
)from cartography.util import run_typed_analysis_job
from cartography.analysis.your_module.analysis import YOUR_MODULE_ACCOUNT_ANALYSIS
def _sync_one_account(neo4j_session, account_id, update_tag, common_job_parameters):
common_job_parameters["ACCOUNT_ID"] = account_id
sync_resources(neo4j_session, account_id, update_tag, common_job_parameters)
run_typed_analysis_job(
YOUR_MODULE_ACCOUNT_ANALYSIS,
neo4j_session,
common_job_parameters,
)from cartography.util import run_typed_analysis_and_ensure_deps
from cartography.analysis.your_module.analysis import YOUR_MODULE_COMBINED_ANALYSIS
def _perform_analysis(requested_syncs, neo4j_session, common_job_parameters):
run_typed_analysis_and_ensure_deps(
YOUR_MODULE_COMBINED_ANALYSIS,
{"ec2:instance", "ec2:security_group"}, # required upstream syncs
set(requested_syncs),
common_job_parameters,
neo4j_session,
)Add an integration test that:
sync() with mocked external boundaries.check_nodes / check_rels.See the create-module skill for testing conventions.
run_typed_analysis_and_ensure_deps) when a typed job requires upstream modules.__comment__.run_analysis_and_ensure_deps with the right deps.COUNT(*) AS TotalCompleted and the matched set shrinks each iteration.For broader troubleshooting, see the troubleshooting skill.
references/examples.md - GCP, AWS, Semgrep wiring examples plus the audit table of modules with proper analysis-job integration.© cartography-cncf, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in .agents/skills/analysis-jobs of cartography-cncf/cartography.
Open the folder on GitHubat commit 0975e95
Analysis Jobs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Analysis Jobs this skillcartography-cncf/cartography | 4.1k | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Rust Path Typesopeninterpreter/openinterpreter | 69k | 2 repos | ~605 | Automated safety check: Pass | Apache-2.0 | |
| Python Type Safetywshobson/agents | 40k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Technical Job Searchgithub/awesome-copilot | 40k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Pyrefly Type Coveragepytorch/pytorch | 104k | — | ~3k | Automated safety check: Pass | Custom licence | |
| Wiki Ingestpaperclipai/paperclip | 100k | — | ~933 | Automated safety check: Pass | MIT |
openinterpreter/openinterpreter
Rules for choosing Rust types for filesystem paths in new Codex code, covering protocol types, internal use and model tool arguments.
wshobson/agents
Python type safety with type hints, generics, protocols, and strict type checking.
github/awesome-copilot
A skill your agent uses when a software engineer asks for help with job search tasks: parsing or analyzing a job description, tailoring a CV/resume, writing a cover letter, evaluating a job offer…
pytorch/pytorch
Migrate a file to use stricter Pyrefly type checking with annotations required for all functions, classes, and attributes.
paperclipai/paperclip
A skill your agent uses when an operation issue asks to ingest a captured raw/ source into the LLM Wiki, or the user says "ingest <slug".
PostHog/posthog
How to add a new ingestion warning type to the event ingestion pipeline.
cartography-cncf/cartography
Define a new node schema under cartography/models/MODULENAME/, including required properties, sub-resource relationships, extra labels, conditional labels, scoped cleanup, and one-to-many transforms.
cartography-cncf/cartography
Define a CartographyRelSchema (standard relationship), one-to-many edge, or MatchLink connecting existing nodes.
cartography-cncf/cartography
Author a new Cartography intel module end-to-end (entry point, sync GET/TRANSFORM/LOAD/CLEANUP, declarative data model, integration test, schema docs).
cartography-cncf/cartography
Author a Cartography security rule (one or more Cypher Facts plus a Pydantic Finding output model) under cartography/rules/data/rules/.
cartography-cncf/cartography
Map a Cartography node into the Ontology system using semantic labels (UserAccount, DeviceInstance, Tenant, Database, ObjectStorage, FileStorage) or canonical nodes (User, Device).
cartography-cncf/cartography
Promote provider-specific relationships to a canonical cross-provider ontology edge using the WORKLOADPARENT pattern (a parallel CartographyRelSchema with the canonical rellabel, the old edge kept…
Add a post-ingestion typed analysis job to a Cartography module to enrich the graph after sync. Analysis Jobs is an agent skill from cartography-cncf/cartography. Add a post-ingestion typed analysis job to a Cartography module to enrich the graph after sync.
Analysis Jobs fits situations like: the user asks to compute internet exposure; propagate inherited permissions; link Human / canonical ontology nodes; add cross-resource analysis after data is loaded.
Run `npx skills add cartography-cncf/cartography --skill analysis-jobs -a claude-code`. Or copy the skill folder (.agents/skills/analysis-jobs in cartography-cncf/cartography) into .claude/skills/analysis-jobs in your project. Claude Code loads it when a task matches its description.
Run `npx skills add cartography-cncf/cartography --skill analysis-jobs -a codex`. Or copy the skill folder (.agents/skills/analysis-jobs in cartography-cncf/cartography) into .agents/skills/analysis-jobs in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cartography-cncf/cartography --skill analysis-jobs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/analysis-jobs, .gemini/skills/analysis-jobs, .github/skills/analysis-jobs and .opencode/skills/analysis-jobs in your project.
SKILL.md names no scripts, command-line tools or credentials: Analysis Jobs is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Analysis Jobs is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Analysis Jobs: Rust Path Types (openinterpreter/openinterpreter, 69k stars), Python Type Safety (wshobson/agents, 40k stars), Technical Job Search (github/awesome-copilot, 40k stars) and Pyrefly Type Coverage (pytorch/pytorch, 104k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
cartography-cncf (a GitHub organization) maintains it in cartography-cncf/cartography, which has 4,129 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 11, 2026.
Source: cartography-cncf/cartography on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.