aiskillstore/marketplace / skills/89jobrien/code-context-finder
code-context-finder
VerifiedAutomatically find relevant context from knowledge graph and code relationships while coding. Detects when context would be helpful (new files, unfamiliar code, architectural decisions) and surfaces related entities, prior decisions, and code dependencies.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.7 KB |
| references/detection-triggers.md | markdown | 3.0 KB |
| references/search-patterns.md | markdown | 4.0 KB |
| scripts/find-code-relationships.py | script | 6.7 KB |
| skill-report.json | config | 48.7 KB |
skill-report.json
View on GitHub{
"schema_version": "2.0",
"meta": {
"generated_at": "2026-07-05T11:25:13.245Z",
"slug": "89jobrien-code-context-finder",
"source_url": "https://github.com/89jobrien/steve/tree/main/steve/skills/code-context-finder",
"source_ref": "main",
"model": "codex",
"analysis_version": "3.0.0",
"source_type": "community",
"content_hash": "c462d5bdc3338e0a3873a5f469c7117a2ca3420ab17c9ce314ea1ee46b34f5a8",
"tree_hash": "f5d3da7b311fe2d124334ceb752451aba8bbbac6018046511445088023d74319",
"provenance": {
"model_effective": "codex",
"fallback_chain": [
{
"agent": "codex",
"outcome": "success"
}
],
"analysis_version": "3.0.0"
}
},
"skill": {
"name": "code-context-finder",
"description": "Finds relevant coding context by combining knowledge graph lookup with code relationship analysis for imports, callers, tests, and prior decisions.",
"summary": "Surfaces related code, tests, and decisions before code changes.",
"icon": "📦",
"version": "1.0.2",
"author": "Joseph OBrien",
"license": "MIT",
"tags": [
"code-search",
"knowledge-graph",
"impact-analysis",
"refactoring",
"debugging"
],
"supported_tools": [
"claude",
"codex",
"claude-code"
],
"risk_factors": [
"scripts",
"external_commands",
"network"
],
"category": "coding"
},
"security_audit": {
"risk_level": "safe",
"is_blocked": false,
"safe_to_publish": true,
"analysis_status": "ok",
"summary": "All static findings were assessed as false positives. The flagged lines are Markdown examples, grep search patterns, or Python strings that format Markdown output. No prompt injection, network call, secret access, shell backtick execution, or dynamic code loading was found in the reviewed files.",
"remediation": [],
"risk_factor_evidence": [
{
"factor": "scripts",
"evidence": [
{
"file": "references/search-patterns.md",
"line_start": 73,
"line_end": 76
},
{
"file": "references/search-patterns.md",
"line_start": 70,
"line_end": 70
}
]
},
{
"factor": "external_commands",
"evidence": [
{
"file": "references/search-patterns.md",
"line_start": 180,
"line_end": 183
},
{
"file": "references/search-patterns.md",
"line_start": 183,
"line_end": 184
},
{
"file": "references/search-patterns.md",
"line_start": 184,
"line_end": 187
},
{
"file": "references/search-patterns.md",
"line_start": 187,
"line_end": 188
},
{
"file": "references/search-patterns.md",
"line_start": 188,
"line_end": 191
},
{
"file": "references/search-patterns.md",
"line_start": 191,
"line_end": 192
},
{
"file": "references/search-patterns.md",
"line_start": 192,
"line_end": 193
},
{
"file": "references/search-patterns.md",
"line_start": 198,
"line_end": 201
},
{
"file": "references/search-patterns.md",
"line_start": 201,
"line_end": 202
},
{
"file": "references/search-patterns.md",
"line_start": 202,
"line_end": 205
},
{
"file": "references/search-patterns.md",
"line_start": 205,
"line_end": 205
},
{
"file": "references/search-patterns.md",
"line_start": 206,
"line_end": 206
},
{
"file": "references/search-patterns.md",
"line_start": 209,
"line_end": 210
},
{
"file": "references/search-patterns.md",
"line_start": 210,
"line_end": 215
},
{
"file": "references/search-patterns.md",
"line_start": 52,
"line_end": 52
},
{
"file": "scripts/find-code-relationships.py",
"line_start": 153,
"line_end": 153
},
{
"file": "scripts/find-code-relationships.py",
"line_start": 158,
"line_end": 158
},
{
"file": "scripts/find-code-relationships.py",
"line_start": 164,
"line_end": 164
},
{
"file": "scripts/find-code-relationships.py",
"line_start": 170,
"line_end": 170
},
{
"file": "scripts/find-code-relationships.py",
"line_start": 178,
"line_end": 178
},
{
"file": "SKILL.md",
"line_start": 37,
"line_end": 37
},
{
"file": "SKILL.md",
"line_start": 45,
"line_end": 52
},
{
"file": "SKILL.md",
"line_start": 52,
"line_end": 58
},
{
"file": "SKILL.md",
"line_start": 58,
"line_end": 67
},
{
"file": "SKILL.md",
"line_start": 67,
"line_end": 80
},
{
"file": "SKILL.md",
"line_start": 80,
"line_end": 93
},
{
"file": "SKILL.md",
"line_start": 93,
"line_end": 95
},
{
"file": "SKILL.md",
"line_start": 95,
"line_end": 101
},
{
"file": "SKILL.md",
"line_start": 101,
"line_end": 116
},
{
"file": "SKILL.md",
"line_start": 116,
"line_end": 124
},
{
"file": "SKILL.md",
"line_start": 124,
"line_end": 125
},
{
"file": "SKILL.md",
"line_start": 125,
"line_end": 125
},
{
"file": "SKILL.md",
"line_start": 126,
"line_end": 127
},
{
"file": "SKILL.md",
"line_start": 127,
"line_end": 128
},
{
"file": "SKILL.md",
"line_start": 128,
"line_end": 134
},
{
"file": "SKILL.md",
"line_start": 134,
"line_end": 135
},
{
"file": "SKILL.md",
"line_start": 135,
"line_end": 136
},
{
"file": "SKILL.md",
"line_start": 136,
"line_end": 137
},
{
"file": "SKILL.md",
"line_start": 137,
"line_end": 138
},
{
"file": "SKILL.md",
"line_start": 138,
"line_end": 166
},
{
"file": "SKILL.md",
"line_start": 166,
"line_end": 167
},
{
"file": "SKILL.md",
"line_start": 167,
"line_end": 171
}
]
},
{
"factor": "network",
"evidence": [
{
"file": "references/search-patterns.md",
"line_start": 118,
"line_end": 118
},
{
"file": "references/search-patterns.md",
"line_start": 118,
"line_end": 118
}
]
}
],
"static_findings": [
{
"id": "sensitive:references/detection-triggers.md:48:environment-file-access",
"category": "sensitive",
"severity": "high",
"pattern": "Environment file access",
"file": "references/detection-triggers.md",
"line_start": 48,
"line_end": 48,
"snippet": "- `.env`, `.yaml`, `.json`, `.toml` config files"
},
{
"id": "scripts:references/search-patterns.md:73:dynamic-import-expression",
"category": "scripts",
"severity": "medium",
"pattern": "Dynamic import() expression",
"file": "references/search-patterns.md",
"line_start": 73,
"line_end": 76,
"snippet": "grep -r \"import(['\\\"]\" --include=\"*.ts\" --include=\"*.tsx\""
},
{
"id": "scripts:references/search-patterns.md:70:dynamic-require-with-variable",
"category": "scripts",
"severity": "medium",
"pattern": "Dynamic require with variable",
"file": "references/search-patterns.md",
"line_start": 70,
"line_end": 70,
"snippet": "grep -r \"require(['\\\"].*module\" --include=\"*.js\" --include=\"*.ts\""
},
{
"id": "external_commands:references/search-patterns.md:180:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "references/search-patterns.md",
"line_start": 180,
"line_end": 183,
"snippet": "## Dependencies for `module_name`"
},
{
"id": "external_commands:references/search-patterns.md:183:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "references/search-patterns.md",
"line_start": 183,
"line_end": 184,
"snippet": "- `dependency1` - used for X"
},
{
"id": "external_commands:references/search-patterns.md:184:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "references/search-patterns.md",
"line_start": 184,
"line_end": 187,
"snippet": "- `dependency2` - used for Y"
},
{
"id": "external_commands:references/search-patterns.md:187:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "references/search-patterns.md",
"line_start": 187,
"line_end": 188,
"snippet": "- `consumer1.py:15` - function call"
},
{
"id": "external_commands:references/search-patterns.md:188:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "references/search-patterns.md",
"line_start": 188,
"line_end": 191,
"snippet": "- `consumer2.py:42` - class instantiation"
},
{
"id": "external_commands:references/search-patterns.md:191:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "references/search-patterns.md",
"line_start": 191,
"line_end": 192,
"snippet": "- `test_module.py` - 12 tests"
},
{
"id": "external_commands:references/search-patterns.md:192:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "references/search-patterns.md",
"line_start": 192,
"line_end": 193,
"snippet": "- `integration/test_flow.py` - 3 tests"
},
{
"id": "external_commands:references/search-patterns.md:198:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "references/search-patterns.md",
"line_start": 198,
"line_end": 201,
"snippet": "## Impact Analysis: Changing `function_name`"
},
{
"id": "external_commands:references/search-patterns.md:201:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "references/search-patterns.md",
"line_start": 201,
"line_end": 202,
"snippet": "- `file1.py:23`"
},
{
"id": "external_commands:references/search-patterns.md:202:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "references/search-patterns.md",
"line_start": 202,
"line_end": 205,
"snippet": "- `file2.py:45`"
},
{
"id": "external_commands:references/search-patterns.md:205:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "references/search-patterns.md",
"line_start": 205,
"line_end": 205,
"snippet": "- `file3.py` imports `file1`"
},
{
"id": "external_commands:references/search-patterns.md:206:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "references/search-patterns.md",
"line_start": 206,
"line_end": 206,
"snippet": "- `file4.py` imports `file2`"
},
{
"id": "external_commands:references/search-patterns.md:209:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "references/search-patterns.md",
"line_start": 209,
"line_end": 210,
"snippet": "- Direct: `test_function.py` (5 tests)"
},
{
"id": "external_commands:references/search-patterns.md:210:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "references/search-patterns.md",
"line_start": 210,
"line_end": 215,
"snippet": "- Integration: `test_flow.py` (2 tests)"
},
{
"id": "external_commands:references/search-patterns.md:52:xargs-command-can-execute-arbitrary-commands",
"category": "external_commands",
"severity": "medium",
"pattern": "xargs command (can execute arbitrary commands)",
"file": "references/search-patterns.md",
"line_start": 52,
"line_end": 52,
"snippet": "find . -name \"test_*.py\" -o -name \"*_test.py\" | xargs grep -l \"module_name\""
},
{
"id": "network:references/search-patterns.md:118:fetch-api-call",
"category": "network",
"severity": "low",
"pattern": "Fetch API call",
"file": "references/search-patterns.md",
"line_start": 118,
"line_end": 118,
"snippet": "grep -rn \"fetch(\\|axios\\.\\|requests\\.\""
},
{
"id": "network:references/search-patterns.md:118:http-client-library",
"category": "network",
"severity": "low",
"pattern": "HTTP client library",
"file": "references/search-patterns.md",
"line_start": 118,
"line_end": 118,
"snippet": "grep -rn \"fetch(\\|axios\\.\\|requests\\.\""
},
{
"id": "sensitive:references/search-patterns.md:105:environment-file-access",
"category": "sensitive",
"severity": "high",
"pattern": "Environment file access",
"file": "references/search-patterns.md",
"line_start": 105,
"line_end": 105,
"snippet": "grep -rn \"process\\.env\\|os\\.environ\\|getenv\""
},
{
"id": "sensitive:references/search-patterns.md:108:environment-file-access",
"category": "sensitive",
"severity": "high",
"pattern": "Environment file access",
"file": "references/search-patterns.md",
"line_start": 108,
"line_end": 108,
"snippet": "grep -rn \"\\.json\\|\\.yaml\\|\\.toml\\|\\.env\" --include=\"*.py\" --include=\"*.ts\""
},
{
"id": "external_commands:scripts/find-code-relationships.py:153:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "scripts/find-code-relationships.py",
"line_start": 153,
"line_end": 153,
"snippet": "lines = [f\"# Code Relationships: `{result.target}`\\n\"]"
},
{
"id": "external_commands:scripts/find-code-relationships.py:158:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "scripts/find-code-relationships.py",
"line_start": 158,
"line_end": 158,
"snippet": "lines.append(f\"- `{imp}`\")"
},
{
"id": "external_commands:scripts/find-code-relationships.py:164:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "scripts/find-code-relationships.py",
"line_start": 164,
"line_end": 164,
"snippet": "lines.append(f\"- `{file}:{line}`\")"
},
{
"id": "external_commands:scripts/find-code-relationships.py:170:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "scripts/find-code-relationships.py",
"line_start": 170,
"line_end": 170,
"snippet": "lines.append(f\"- `{file}:{line}` - `{context}`\")"
},
{
"id": "external_commands:scripts/find-code-relationships.py:178:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "scripts/find-code-relationships.py",
"line_start": 178,
"line_end": 178,
"snippet": "lines.append(f\"- `{test}`\")"
},
{
"id": "external_commands:SKILL.md:37:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 37,
"line_end": 37,
"snippet": "For detection triggers reference, load `references/detection_triggers.md`."
},
{
"id": "external_commands:SKILL.md:45:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 45,
"line_end": 52,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:52:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 52,
"line_end": 58,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:58:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 58,
"line_end": 67,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:67:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 67,
"line_end": 80,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:80:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 80,
"line_end": 93,
"snippet": "```python"
},
{
"id": "external_commands:SKILL.md:93:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 93,
"line_end": 95,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:95:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 95,
"line_end": 101,
"snippet": "For common search patterns, load `references/search_patterns.md`."
},
{
"id": "external_commands:SKILL.md:101:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 101,
"line_end": 116,
"snippet": "```markdown"
},
{
"id": "external_commands:SKILL.md:116:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 116,
"line_end": 124,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:124:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 124,
"line_end": 125,
"snippet": "| Find project context | `search_nodes(\"project-name\")` |"
},
{
"id": "external_commands:SKILL.md:125:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 125,
"line_end": 125,
"snippet": "| Find prior decisions | `search_nodes(\"decision\")` or `search_nodes(\"<feature>\")` |"
},
{
"id": "external_commands:SKILL.md:126:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 126,
"line_end": 127,
"snippet": "| Find related concepts | `search_nodes(\"<concept>\")` |"
},
{
"id": "external_commands:SKILL.md:127:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 127,
"line_end": 128,
"snippet": "| Find people/owners | `search_nodes(\"<person-name>\")` |"
},
{
"id": "external_commands:SKILL.md:128:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 128,
"line_end": 134,
"snippet": "| Browse all | `read_graph()` |"
},
{
"id": "external_commands:SKILL.md:134:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 134,
"line_end": 135,
"snippet": "| Find importers | `grep -r \"from X import\\|import X\"` |"
},
{
"id": "external_commands:SKILL.md:135:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 135,
"line_end": 136,
"snippet": "| Find callers | `grep -r \"function(\"` |"
},
{
"id": "external_commands:SKILL.md:136:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 136,
"line_end": 137,
"snippet": "| Find implementations | `grep -r \"def function\\|class Class\"` |"
},
{
"id": "external_commands:SKILL.md:137:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 137,
"line_end": 138,
"snippet": "| Find tests | `find -name \"*test*\" -exec grep -l \"X\"` |"
},
{
"id": "external_commands:SKILL.md:138:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 138,
"line_end": 166,
"snippet": "| Find configs | `grep -r \"X\" *.json *.yaml *.toml` |"
},
{
"id": "external_commands:SKILL.md:166:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 166,
"line_end": 167,
"snippet": "- `detection_triggers.md` - Detailed trigger patterns for smart detection"
},
{
"id": "external_commands:SKILL.md:167:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 167,
"line_end": 171,
"snippet": "- `search_patterns.md` - Common search patterns for code relationships"
}
],
"finding_verdicts": [
{
"id": "sensitive:references/detection-triggers.md:48:environment-file-access",
"verdict": "false_positive",
"confidence": 0.94,
"reason": "This is documentation listing config files as context triggers. It does not read environment values or instruct the agent to expose secrets."
},
{
"id": "scripts:references/search-patterns.md:73:dynamic-import-expression",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "This line is a grep pattern used to locate dynamic import or require usage in a codebase. The skill does not execute dynamic imports or requires here."
},
{
"id": "scripts:references/search-patterns.md:70:dynamic-require-with-variable",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "This line is a grep pattern used to locate dynamic import or require usage in a codebase. The skill does not execute dynamic imports or requires here."
},
{
"id": "external_commands:references/search-patterns.md:180:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged backticks are Markdown formatting in example report output. They are not Ruby or shell backtick execution."
},
{
"id": "external_commands:references/search-patterns.md:183:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged backticks are Markdown formatting in example report output. They are not Ruby or shell backtick execution."
},
{
"id": "external_commands:references/search-patterns.md:184:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged backticks are Markdown formatting in example report output. They are not Ruby or shell backtick execution."
},
{
"id": "external_commands:references/search-patterns.md:187:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged backticks are Markdown formatting in example report output. They are not Ruby or shell backtick execution."
},
{
"id": "external_commands:references/search-patterns.md:188:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged backticks are Markdown formatting in example report output. They are not Ruby or shell backtick execution."
},
{
"id": "external_commands:references/search-patterns.md:191:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged backticks are Markdown formatting in example report output. They are not Ruby or shell backtick execution."
},
{
"id": "external_commands:references/search-patterns.md:192:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged backticks are Markdown formatting in example report output. They are not Ruby or shell backtick execution."
},
{
"id": "external_commands:references/search-patterns.md:198:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged backticks are Markdown formatting in example report output. They are not Ruby or shell backtick execution."
},
{
"id": "external_commands:references/search-patterns.md:201:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged backticks are Markdown formatting in example report output. They are not Ruby or shell backtick execution."
},
{
"id": "external_commands:references/search-patterns.md:202:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged backticks are Markdown formatting in example report output. They are not Ruby or shell backtick execution."
},
{
"id": "external_commands:references/search-patterns.md:205:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged backticks are Markdown formatting in example report output. They are not Ruby or shell backtick execution."
},
{
"id": "external_commands:references/search-patterns.md:206:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged backticks are Markdown formatting in example report output. They are not Ruby or shell backtick execution."
},
{
"id": "external_commands:references/search-patterns.md:209:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged backticks are Markdown formatting in example report output. They are not Ruby or shell backtick execution."
},
{
"id": "external_commands:references/search-patterns.md:210:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged backticks are Markdown formatting in example report output. They are not Ruby or shell backtick execution."
},
{
"id": "external_commands:references/search-patterns.md:52:xargs-command-can-execute-arbitrary-commands",
"verdict": "false_positive",
"confidence": 0.86,
"reason": "This is a documented test-discovery command with a fixed grep invocation. It does not pass untrusted text into a shell or define arbitrary command execution."
},
{
"id": "network:references/search-patterns.md:118:fetch-api-call",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "This is a grep pattern for locating API calls in source code. The skill does not call fetch, axios, or requests at this location."
},
{
"id": "network:references/search-patterns.md:118:http-client-library",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "This is a grep pattern for locating API calls in source code. The skill does not call fetch, axios, or requests at this location."
},
{
"id": "sensitive:references/search-patterns.md:105:environment-file-access",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "This is a grep pattern for finding environment or config references in source code. It is not environment file access or secret extraction by the skill."
},
{
"id": "sensitive:references/search-patterns.md:108:environment-file-access",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "This is a grep pattern for finding environment or config references in source code. It is not environment file access or secret extraction by the skill."
},
{
"id": "external_commands:scripts/find-code-relationships.py:153:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The code builds Markdown output with backtick characters in Python strings. It does not execute shell commands or invoke Ruby backticks."
},
{
"id": "external_commands:scripts/find-code-relationships.py:158:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The code builds Markdown output with backtick characters in Python strings. It does not execute shell commands or invoke Ruby backticks."
},
{
"id": "external_commands:scripts/find-code-relationships.py:164:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The code builds Markdown output with backtick characters in Python strings. It does not execute shell commands or invoke Ruby backticks."
},
{
"id": "external_commands:scripts/find-code-relationships.py:170:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The code builds Markdown output with backtick characters in Python strings. It does not execute shell commands or invoke Ruby backticks."
},
{
"id": "external_commands:scripts/find-code-relationships.py:178:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The code builds Markdown output with backtick characters in Python strings. It does not execute shell commands or invoke Ruby backticks."
},
{
"id": "external_commands:SKILL.md:37:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:45:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:52:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:58:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:67:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:80:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.87,
"reason": "This is documentation showing local grep or find search commands for code relationship analysis. The commands are bounded search examples, not shell backtick execution."
},
{
"id": "external_commands:SKILL.md:93:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:95:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:101:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:116:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:124:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:125:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:126:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:127:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:128:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:134:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.87,
"reason": "This is documentation showing local grep or find search commands for code relationship analysis. The commands are bounded search examples, not shell backtick execution."
},
{
"id": "external_commands:SKILL.md:135:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.87,
"reason": "This is documentation showing local grep or find search commands for code relationship analysis. The commands are bounded search examples, not shell backtick execution."
},
{
"id": "external_commands:SKILL.md:136:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.87,
"reason": "This is documentation showing local grep or find search commands for code relationship analysis. The commands are bounded search examples, not shell backtick execution."
},
{
"id": "external_commands:SKILL.md:137:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.87,
"reason": "This is documentation showing local grep or find search commands for code relationship analysis. The commands are bounded search examples, not shell backtick execution."
},
{
"id": "external_commands:SKILL.md:138:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.87,
"reason": "This is documentation showing local grep or find search commands for code relationship analysis. The commands are bounded search examples, not shell backtick execution."
},
{
"id": "external_commands:SKILL.md:166:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
},
{
"id": "external_commands:SKILL.md:167:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The flagged text is a Markdown code fence, inline reference, or memory-tool example. It does not perform shell backtick execution."
}
],
"semantic_findings": [],
"critical_findings": [],
"high_findings": [],
"medium_findings": [],
"low_findings": [],
"dangerous_patterns": [],
"files_scanned": 4,
"total_lines": 746,
"audit_model": "codex",
"audited_at": "2026-07-05T11:25:13.245Z",
"agent_auto_install_policy": "allowed",
"manual_install_policy": "allowed"
},
"content": {
"user_title": "Find Code Context Faster",
"value_statement": "Developers often lose time tracing why code exists and what depends on it. This skill prompts Claude, Codex, or Claude Code to gather related graph knowledge, callers, imports, and tests before changes.",
"seo_keywords": [
"Claude",
"Codex",
"Claude Code",
"code context finder",
"code relationship analysis",
"knowledge graph search",
"impact analysis",
"refactoring support",
"test discovery",
"developer productivity"
],
"actual_capabilities": [
"Detects moments when extra context is useful, such as refactors, errors, new files, and architecture decisions.",
"Guides knowledge graph searches for prior decisions, project context, owners, and related concepts.",
"Provides grep and find patterns for imports, callers, tests, routes, APIs, database queries, and configuration references.",
"Includes a Python script that reports imports, dependents, callers, and tests for Python targets.",
"Suggests concise context summaries that combine graph notes with code relationship results."
],
"limitations": [
"It depends on available memory graph data and repository files.",
"Search results may miss dynamic imports, generated code, or language patterns outside the references.",
"The helper script focuses on Python relationships.",
"It can surface sensitive file names, so review commands before scanning private repositories."
],
"use_cases": [
{
"title": "Refactor Shared Python Modules",
"description": "Map imports, callers, and tests before changing a shared module.",
"target_user": "Backend developer"
},
{
"title": "Understand Unfamiliar Repositories",
"description": "Combine graph notes and code searches to learn module purpose and dependencies.",
"target_user": "New team member"
},
{
"title": "Review Architecture Decisions",
"description": "Find prior decisions and related implementations before choosing a design path.",
"target_user": "Tech lead"
}
],
"prompt_templates": [
{
"title": "Find File Context",
"scenario": "Beginner file review",
"prompt": "Use code-context-finder for src/auth/service.py. Summarize the module purpose, imports, dependents, related tests, and relevant graph notes."
},
{
"title": "Trace A Bug Path",
"scenario": "Debugging",
"prompt": "Use code-context-finder for this error area: payment retries. Search memory for prior issues, then identify likely callers, config references, and tests."
},
{
"title": "Prepare A Refactor",
"scenario": "Refactor planning",
"prompt": "Use code-context-finder before refactoring UserService. Build an impact summary with direct callers, indirect dependents, tests, and related architecture decisions."
},
{
"title": "Assess A Cross-System Change",
"scenario": "Advanced impact analysis",
"prompt": "Use code-context-finder for the authentication migration. Compare graph decisions, route handlers, API calls, database queries, configs, and test coverage before recommending edits."
}
],
"output_examples": [
{
"input": "Find context for an unfamiliar authentication module.",
"output": [
"Relevant graph notes summarize ownership and a previous token decision.",
"Code relationships list the main imports, two dependents, and nearby tests.",
"Recommended next step is to review token refresh tests before editing."
]
},
{
"input": "Plan a refactor of a shared utility.",
"output": "The skill returns a concise impact report with callers, importing modules, tests, and prior design notes. It highlights high-risk dependents first."
},
{
"input": "Debug an error in a payment workflow.",
"output": "The result connects the error keyword to earlier fixes, likely affected components, route handlers, and focused tests to inspect."
}
],
"best_practices": [
"Review the suggested search scope before running repository-wide commands.",
"Use both memory graph results and code searches before changing shared modules.",
"Summarize only relevant context so the coding task stays focused."
],
"anti_patterns": [
"Running broad searches across private repositories without checking scope.",
"Treating grep results as complete impact analysis without reading key files.",
"Ignoring prior decisions when changing architecture or shared interfaces."
],
"faq": [
{
"question": "Does this skill modify code?",
"answer": "No. It helps find context and relationships before you decide what to edit."
},
{
"question": "Which tools does it support?",
"answer": "It is marked for Claude, Codex, and Claude Code."
},
{
"question": "Does it require a knowledge graph?",
"answer": "No. Graph data improves prior-decision and ownership context, but code searches still work without it."
},
{
"question": "What languages are covered?",
"answer": "The references include Python, TypeScript, JavaScript, and cross-language search patterns. The helper script focuses on Python."
},
{
"question": "Can it find tests?",
"answer": "Yes. It provides test discovery patterns and a Python helper for matching tests to a target."
},
{
"question": "Should it read environment files?",
"answer": "Review scope first. The references use config files as context triggers, not as a request to expose secrets."
}
]
},
"file_structure": [
{
"name": "references",
"type": "dir",
"path": "references",
"children": [
{
"name": "detection-triggers.md",
"type": "file",
"path": "references/detection-triggers.md",
"lines": 148
},
{
"name": "search-patterns.md",
"type": "file",
"path": "references/search-patterns.md",
"lines": 216
}
]
},
{
"name": "scripts",
"type": "dir",
"path": "scripts",
"children": [
{
"name": "find-code-relationships.py",
"type": "file",
"path": "scripts/find-code-relationships.py",
"lines": 210
}
]
},
{
"name": "SKILL.md",
"type": "file",
"path": "SKILL.md",
"lines": 172
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |