ac-knowledge-graph

ac-knowledge-graph is a skill for Claude Code, Codex from majiayu000/claude-skill-registry. It costs 31 tokens per session (148 once invoked), scanned A, a copy of ac-knowledge-graph, MIT.

A project knowledge graph stores concepts such as models, files, and lessons, along with the relationships between them. It can also search for connected information.

In plain words
What is it for?
Use it to record project concepts and relationships, find related information, and maintain shared project memory.
Why use it?
It keeps project knowledge connected instead of scattered across separate notes or files. This helps an autonomous coding agent understand how project parts relate.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to record project concepts and relationships, find related information, and maintain shared project memory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/majiayu000/claude-skill-registry/ac-knowledge-graph
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add majiayu000/claude-skill-registry --skill ac-knowledge-graph
Clone the repo
git clone --depth 1 https://github.com/majiayu000/claude-skill-registry

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ac-knowledge-graph

README.md
[![agentmods](https://agentmods.dev/badge/skills/majiayu000/claude-skill-registry/ac-knowledge-graph/github.svg)](https://agentmods.dev/skills/majiayu000/claude-skill-registry/ac-knowledge-graph)
Your own site
<a href="https://agentmods.dev/skills/majiayu000/claude-skill-registry/ac-knowledge-graph"><img src="https://agentmods.dev/badge/skills/majiayu000/claude-skill-registry/ac-knowledge-graph/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ac-knowledge-graph

Your own site · 80×15
<a href="https://agentmods.dev/skills/majiayu000/claude-skill-registry/ac-knowledge-graph"><img src="https://agentmods.dev/badge/skills/majiayu000/claude-skill-registry/ac-knowledge-graph.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 148 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00148
Opus 5 $0.00015 $0.00074
Sonnet 5 $0.00006 $0.00030
Haiku 4.5 $0.00003 $0.00015

Measured 11d ago against content hash 0e49c046aa01, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ac-knowledge-graph scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to ac-knowledge-graph — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/agent/ac-knowledge-graph/SKILL.md · 28 lines

What it actually says

AC Knowledge Graph

Build and query knowledge graphs for project understanding.

Purpose

Maintains a knowledge graph of project concepts, relationships, and learnings for intelligent decision-making.

Quick Start

from scripts.knowledge_graph import KnowledgeGraph

graph = KnowledgeGraph(project_dir)
await graph.add_entity("User", {"type": "model"})
await graph.add_relation("User", "has", "Profile")
related = await graph.query("User")

API Reference

See scripts/knowledge_graph.py for full implementation.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 28 lines · 31 tokens per session scan A 0e49c046aa01

Subscribe to this mod's changes

ac-knowledge-graph is a skill published in the GitHub repository majiayu000/claude-skill-registry (600 stars, last pushed today), licensed MIT. It adds 31 tokens to every session and 148 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to ac-knowledge-graph, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

find-skills

Use when automatically discover, evaluate, and activate community skills when local skills don't cover user needs. Includes credibility scoring and safety checks for complete OpenClaw self-sufficiency.

oyi77/1ai-skills · 39 tokens

context-degradation

This skill should be used for diagnosing and mitigating context degradation: lost-in-middle failures, context poisoning, context clash, context confusion, attention-pattern issues, and agent performance degradation caused by accumulated or conflicting context.

guanyang/open-agent-hub · 45 tokens

context-compression

This skill should be used when long-running agent sessions need context compression, structured summarization, compaction, token-per-task optimization, or durable handoff summaries that preserve decisions, files, risks, and next actions.

guanyang/open-agent-hub · 47 tokens

context-fundamentals

This skill should be used to explain or reason about the foundational concepts of context engineering: what context is, the anatomy of a context window, how attention mechanics work, the U-shaped attention curve, why context quality matters more than quantity, and the mental models needed to interpret every other…

guanyang/open-agent-hub · 125 tokens

context-optimization

This skill should be used for improving context efficiency: context budgeting, observation masking, prefix or KV-cache strategy, partitioning, token-cost reduction, retrieval scoping, and extending effective context capacity without lowering answer quality.

guanyang/open-agent-hub · 47 tokens

filesystem-context

This skill should be used when agent work needs file-backed context: durable scratchpads, tool-output offloading, just-in-time discovery, cross-agent handoff files, filesystem memory, or cleanup policies for context stored outside the prompt.

guanyang/open-agent-hub · 49 tokens