Display detailed information about a specific note
Displays detailed metadata, relationships, and backlinks for a specific note in the knowledge graph.
/plugin marketplace add witt3rd/claude-plugins/plugin install azkg@witt3rd-claude-pluginsShow detailed information about a specific note, including all relationships and backlinks.
Check for AZKG_REPO_PATH environment variable:
if [ -z "$AZKG_REPO_PATH" ]; then REPO_PATH=$(pwd); else REPO_PATH="$AZKG_REPO_PATH"; fiAll file operations must use REPO_PATH:
Read(REPO_PATH/filename.md) or Read("$REPO_PATH/filename.md")Write(REPO_PATH/filename.md) or Write("$REPO_PATH/filename.md")Edit(REPO_PATH/filename.md) or Edit("$REPO_PATH/filename.md")Grep(pattern, path=REPO_PATH) or with explicit pathGlob(pattern, path=REPO_PATH) or with explicit pathExample usage:
# Check environment variable
if [ -z "$AZKG_REPO_PATH" ]; then
REPO_PATH=$(pwd)
else
REPO_PATH="$AZKG_REPO_PATH"
fi
# Then use REPO_PATH for all operations
Read("$REPO_PATH/agents.md")
Concrete examples:
Display:
User provides filename: /graph-note agents.md or /graph-note agents
Ensure filename has .md extension.
Use Glob to check if note exists:
Glob "agents.md"
If not found, report error.
Use Read tool to get full note content.
From the note content:
# Heading after YAML frontmattertags: field in YAML frontmatter## sections)From note content, extract all relationships:
For each relationship, capture the target note and "why" explanation.
Use Grep to find all notes that reference this note:
# Find all wikilinks to this note
Grep "\[\[agents\]\]" --glob="*.md" --output_mode="files_with_matches"
Count and list the files that link to this note.
Note: agents.md
============================================================
## Metadata
Title: AI Agents
Tags: #agents, #ai, #llm, #architecture
Summary: AI agents are autonomous systems powered by LLMs that can perceive,
decide, and act to achieve goals.
## Relationships (Total: 8)
### Prerequisites (0)
(None)
### Related Topics (3)
- [[semantic_routing]] - Enables intelligent model selection for agent tasks
- [[llm_self_talk_optimization]] - Token-efficient communication between agents
- [[react_agent_pattern]] - UI pattern for building agent interfaces
### Extends (0)
(None)
### Extended By (2)
- [[claude_code]] - Implements agentic coding assistant
- [[alita]] - Example implementation of AI agent system
### Alternatives (0)
(None)
### Examples (3)
- [[alita]] - Production AI agent implementation
- [[claude_code]] - Agentic coding assistant
- [[another_example]] - Another implementation
## Backlinks (12 notes reference this)
Files that link to [[agents]]:
- semantic_routing.md
- react_agent_pattern.md
- mcp_overview.md
- claude_code.md
- agents_moc.md
- ...
============================================================
š” Next Steps:
⢠Use `/expand-graph agents.md` to discover more relationships
⢠Review backlinks to understand how this note is used
⢠Check if "Extended By" relationships should be in "Examples" instead
/expand-graph if relationship count seems low