Dce Edge
vercel/next.js
DCE-safe require() patterns and edge runtime constraints. An agent skill from vercel/next.js.
Define a CartographyRelSchema (standard relationship), one-to-many edge, or MatchLink connecting existing nodes.
$ npx skills add cartography-cncf/cartography --skill add-relationship -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install cartography-cncf/cartography add-relationship --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/add-relationship .claude/skills/add-relationship && 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 "add-relationship" agent skill from https://github.com/cartography-cncf/cartography/tree/master/.agents/skills/add-relationship into .claude/skills/add-relationship/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-relationship", 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/add-relationshipType 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 add-relationship -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install cartography-cncf/cartography add-relationship --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/add-relationship .agents/skills/add-relationship && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-relationship" agent skill from https://github.com/cartography-cncf/cartography/tree/master/.agents/skills/add-relationship into .agents/skills/add-relationship/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-relationship", 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 add-relationship -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install cartography-cncf/cartography add-relationship --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/add-relationship .cursor/skills/add-relationship && 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 "add-relationship" agent skill from https://github.com/cartography-cncf/cartography/tree/master/.agents/skills/add-relationship into .cursor/skills/add-relationship/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-relationship", 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/add-relationship--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 add-relationship -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install cartography-cncf/cartography add-relationship --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/add-relationship .gemini/skills/add-relationship && 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 "add-relationship" agent skill from https://github.com/cartography-cncf/cartography/tree/master/.agents/skills/add-relationship into .gemini/skills/add-relationship/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-relationship", 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 add-relationshipInstalls 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 add-relationship -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/add-relationship .github/skills/add-relationship && 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 "add-relationship" agent skill from https://github.com/cartography-cncf/cartography/tree/master/.agents/skills/add-relationship into .github/skills/add-relationship/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-relationship", 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 add-relationship -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 add-relationship --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/add-relationship .opencode/skills/add-relationship && 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 "add-relationship" agent skill from https://github.com/cartography-cncf/cartography/tree/master/.agents/skills/add-relationship into .opencode/skills/add-relationship/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-relationship", 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.
add-relationshipDefine a CartographyRelSchema (standard relationship), one-to-many edge, or MatchLink connecting existing nodes.
Add Relationship is an agent skill from cartography-cncf/cartography. Define a CartographyRelSchema (standard relationship), one-to-many edge, or MatchLink connecting existing nodes. Use when the user asks to add a relationship, link nodes, set a RESOURCE / MEMBEROF / ASSOCIATEDWITH edge, share a node across modules, or model a composite node from two intel sources.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/matchlinks.md` and `references/multi-module-patterns.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 fe004c7. 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.
Add Relationship loads about 1.7k tokens when it runs, and up to ~4.1k if it reads all its reference files. Until then it costs about 82 tokens; SKILL.md has 383 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 fe004c7, republished under its Apache-2.0 licence (© cartography-cncf). 383 words, ~1,718 tokens.
.claude/skills/add-relationship/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Add a relationship between Cartography nodes. Cover three flavours:
other_relationships or sub_resource_relationship).PropertyRef(..., one_to_many=True).MATCH reads).lastupdated, _sub_resource_label, _sub_resource_id (all set_in_kwargs=True).GraphJob.from_node_schema(). MatchLinks: GraphJob.from_matchlink().sub_resource_relationship always points to a tenant-like node. See the add-node-type skill.Define rel properties (typically just lastupdated) and the relationship itself, then attach it to a node schema via sub_resource_relationship (tenant link) or other_relationships (business link).
from cartography.models.core.relationships import (
CartographyRelSchema, CartographyRelProperties, LinkDirection,
make_target_node_matcher, TargetNodeMatcher,
)
@dataclass(frozen=True)
class YourServiceTenantToUserRelProperties(CartographyRelProperties):
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
@dataclass(frozen=True)
class YourServiceTenantToUserRel(CartographyRelSchema):
target_node_label: str = "YourServiceTenant"
target_node_matcher: TargetNodeMatcher = make_target_node_matcher({
"id": PropertyRef("TENANT_ID", set_in_kwargs=True),
})
direction: LinkDirection = LinkDirection.OUTWARD
rel_label: str = "RESOURCE"
properties: YourServiceTenantToUserRelProperties = YourServiceTenantToUserRelProperties()LinkDirection.OUTWARD: (:Source)-[:REL]->(:Target)LinkDirection.INWARD: (:Source)<-[:REL]-(:Target)Sub-resource relationships use INWARD ((:Tenant)-[:RESOURCE]->(:Resource) from the tenant's POV is INWARD for the resource side).
Flatten target IDs in transform() and use one_to_many=True:
# transform
{"id": "rtb-123", "subnet_ids": ["subnet-abc", "subnet-def"]}
# rel
@dataclass(frozen=True)
class RouteTableToSubnetRel(CartographyRelSchema):
target_node_label: str = "AWSEC2Subnet"
target_node_matcher: TargetNodeMatcher = make_target_node_matcher({
"subnet_id": PropertyRef("subnet_ids", one_to_many=True),
})
direction: LinkDirection = LinkDirection.OUTWARD
rel_label: str = "ASSOCIATED_WITH"
properties: RouteTableToSubnetRelProperties = RouteTableToSubnetRelProperties()Cartography expands one_to_many into one edge per ID in the list.
Use a MatchLink when:
Don't use MatchLinks for:
other_relationships).one_to_many=True).from cartography.models.core.relationships import (
CartographyRelSchema, CartographyRelProperties, LinkDirection,
make_target_node_matcher, TargetNodeMatcher,
make_source_node_matcher, SourceNodeMatcher,
)
@dataclass(frozen=True)
class RoleAssignmentRelProperties(CartographyRelProperties):
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
_sub_resource_label: PropertyRef = PropertyRef("_sub_resource_label", set_in_kwargs=True)
_sub_resource_id: PropertyRef = PropertyRef("_sub_resource_id", set_in_kwargs=True)
@dataclass(frozen=True)
class RoleAssignmentAllowedByMatchLink(CartographyRelSchema):
target_node_label: str = "AWSRole"
target_node_matcher: TargetNodeMatcher = make_target_node_matcher({
"arn": PropertyRef("RoleArn"),
})
source_node_label: str = "AWSSSOUser"
source_node_matcher: SourceNodeMatcher = make_source_node_matcher({
"id": PropertyRef("UserId"),
})
direction: LinkDirection = LinkDirection.OUTWARD
rel_label: str = "ALLOWED_BY"
properties: RoleAssignmentRelProperties = RoleAssignmentRelProperties()load_matchlinks(
neo4j_session,
RoleAssignmentAllowedByMatchLink(),
role_assignments,
lastupdated=update_tag,
_sub_resource_label="AWSAccount",
_sub_resource_id=aws_account_id,
)
def cleanup(neo4j_session, common_job_parameters):
GraphJob.from_node_schema(YourNodeSchema(), common_job_parameters).run(neo4j_session)
GraphJob.from_matchlink(
YourMatchLinkSchema(),
"AWSAccount", # _sub_resource_label
common_job_parameters["AWS_ID"], # _sub_resource_id
common_job_parameters["UPDATE_TAG"],
).run(neo4j_session)For richer MatchLink scenarios (rich rel properties, optional MatchLinkSubResource scoping, multi-module composite nodes), see references/matchlinks.md and references/multi-module-patterns.md.
Relationship not created — the target node didn't exist when the rel was loaded. Load parent nodes first.target_node_matcher keys must match the target node's property names (e.g. id, arn).load_matchlinks()._sub_resource_id and UPDATE_TAG in common_job_parameters.For the full troubleshooting list, see the troubleshooting skill.
references/matchlinks.md — MatchLink performance impact, rich-property example (Inspector findings), MatchLinkSubResource scoping.references/multi-module-patterns.md — simple-relationship vs composite-node patterns when multiple intel modules touch the same node label.© 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 2 other files (references) in .agents/skills/add-relationship of cartography-cncf/cartography.
Open the folder on GitHubat commit fe004c7
Add Relationship 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 |
|---|---|---|---|---|---|---|
| Add Relationship this skillcartography-cncf/cartography | 4.1k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Dce Edgevercel/next.js | 143k | — | ~1k | Automated safety check: Pass | MIT | |
| Telemetry Standardssupabase/supabase | 111k | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Cpp Coding Standardsaffaan-m/ECC | 276k | 4 repos | ~5.6k | Automated safety check: Pass | MIT | |
| Java Coding Standardsaffaan-m/ECC | 276k | 1 repos | ~2.9k | Automated safety check: Pass | MIT | |
| Android Edge To EdgeHoangNguyen0403/agent-skills-standard | 572 | — | ~769 | Automated safety check: Pass | MIT |
vercel/next.js
DCE-safe require() patterns and edge runtime constraints. An agent skill from vercel/next.js.
supabase/supabase
PostHog event tracking standards for Supabase Studio. An agent skill from supabase/supabase.
affaan-m/ECC
C++ coding standards based on the C++ Core Guidelines (isocpp.github.io).
affaan-m/ECC
Java coding standards for Spring Boot and Quarkus services: naming, immutability, Optional usage, streams, exceptions, generics, CDI, reactive patterns, and project layout.
HoangNguyen0403/agent-skills-standard
Migrate a Jetpack Compose app to edge-to-edge display and fix system bar inset issues.
affaan-m/ECC
适用于TypeScript、JavaScript、React和Node.js开发的通用编码标准、最佳实践和模式. An agent skill from affaan-m/ECC.
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
Add a post-ingestion typed analysis job to a Cartography module to enrich the graph after sync.
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…
Define a CartographyRelSchema (standard relationship), one-to-many edge, or MatchLink connecting existing nodes. Add Relationship is an agent skill from cartography-cncf/cartography. Define a CartographyRelSchema (standard relationship), one-to-many edge, or MatchLink connecting existing nodes.
Add Relationship fits situations like: the user asks to add a relationship; set a RESOURCE / MEMBEROF / ASSOCIATEDWITH edge; share a node across modules; model a composite node from two intel sources.
Run `npx skills add cartography-cncf/cartography --skill add-relationship -a claude-code`. Or copy the skill folder (.agents/skills/add-relationship in cartography-cncf/cartography) into .claude/skills/add-relationship in your project. Claude Code loads it when a task matches its description.
Run `npx skills add cartography-cncf/cartography --skill add-relationship -a codex`. Or copy the skill folder (.agents/skills/add-relationship in cartography-cncf/cartography) into .agents/skills/add-relationship 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 add-relationship -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-relationship, .gemini/skills/add-relationship, .github/skills/add-relationship and .opencode/skills/add-relationship in your project.
SKILL.md names no scripts, command-line tools or credentials: Add Relationship 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.
Add Relationship 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 1.7k tokens (SKILL.md is roughly 6.9k 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 2.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Add Relationship: Dce Edge (vercel/next.js, 143k stars), Telemetry Standards (supabase/supabase, 111k stars), Cpp Coding Standards (affaan-m/ECC, 276k stars) and Java Coding Standards (affaan-m/ECC, 276k 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,128 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 10, 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.