ワンクリックで
arkeon-connect
Find and create relationships between entities across different spaces in the graph.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Find and create relationships between entities across different spaces in the graph.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Start the local development environment (embedded Postgres + Meilisearch + API) and run e2e tests.
Initialize a repo as an Arkeon knowledge base and build a knowledge graph from its documents.
Build, test, version-bump, and publish the arkeon npm package from main.
Fix a GitHub issue in an isolated worktree, test, commit, and open a PR.
Merge a GitHub PR, watch CI/CD pipeline, and check if publishable packages need a release.
Review docs for staleness after feature work. Compare each doc against the codebase, flag stale content, and update or delete.
| name | arkeon-connect |
| description | Find and create relationships between entities across different spaces in the graph. |
| disable-model-invocation | true |
| argument-hint | ["topic or entity name"] |
| allowed-tools | Bash(npx arkeon *, arkeon *, ls *), Read, Glob, Grep, Write |
Discover and create relationships between entities across different spaces. While /arkeon-ingest builds knowledge within a single repo/space, /arkeon-connect weaves connections between spaces — linking the same person, concept, or work that appears in different corpora.
This skill requires admin access to see all spaces. Before starting:
npx arkeon auth use admin
If there's no admin profile, set one up:
npx arkeon auth profiles
If "admin" is not listed, you need the admin bootstrap key from the instance's secrets.json.
List every space in the instance:
npx arkeon spaces list --limit 200
Note the space names and IDs. Report to the user:
Found {N} spaces: {name1} ({id1}), {name2} ({id2}), ...
If there are fewer than 2 spaces, there's nothing to connect. Stop and explain.
For each space, get a sense of what's in it:
npx arkeon search query --q "*" --space-id {space_id} --limit 30
Note the entity types, key labels, and predicates used. Build a mental model of what each space contains and where overlaps might exist.
Based on the survey, identify potential cross-space connections. Look for:
Report the plan to the user:
Connection plan:
- {N} entities appear in multiple spaces (candidates for linking)
- {M} cross-space relationships to create
- Spaces involved: {list}
If $ARGUMENTS specifies a topic or entity name, focus the search on that topic rather than doing a broad survey.
For each potential connection, search across spaces to find matching entities:
npx arkeon search query --q "{entity_label}" --limit 20
Note: omitting --space-id searches across ALL spaces. Compare results to find the same entity in different spaces.
When evaluating matches, consider:
For each confirmed connection, create a relationship. Use the Write tool to create an ops JSON file:
Write to /tmp/arkeon-connect-ops.json:
{
"format": "arke.ops/v1",
"defaults": {},
"ops": [
{
"op": "relate",
"source": "01ENTITY_IN_SPACE_A",
"target": "01ENTITY_IN_SPACE_B",
"predicate": "same_as",
"detail": "Same person appearing in both theology and philosophy corpora"
}
]
}
Then submit:
npx arkeon ingest post-ops --data @/tmp/arkeon-connect-ops.json
Key rules:
source.entity_id on the envelope — you're not extracting from a document.defaults.space_id — cross-space relationships don't belong to a single space. If you want the relationship edge itself to live in a specific space, set space_id on the relate op.same_as — identical entity in different spacesrelated_to — thematic or conceptual connectioninfluenced_by, references, preceded — directional connectionspart_of — hierarchical connectionsdetail field explaining the connection.When you find the same entity in two spaces but one has a richer description, consider updating the thinner one:
npx arkeon entities get {id}
Check the ver field, then update:
npx arkeon entities update {id} --properties '{"description":"enriched description"}' --ver {ver}
This is optional — only do it when one space has clearly more information about the entity than another.
After all connections are made, summarize:
Connect complete.
- Spaces surveyed: {N}
- Cross-space relationships created: {R}
- Entities enriched: {E}
- Connection types: {breakdown by predicate}
Notable connections:
- {entity} links {space_a} and {space_b} via {predicate}
- ...