Skip to content

Context7 Platform -- Up-to-date docs for AI agents

CTX7-3304: List the rule file that ctx7 setup writes in CLI mode (#3490)

Enes Gulesb9602963f5e7
diff --git a/docs/clients/cli.mdx b/docs/clients/cli.mdx
index c8eee914..0b570832 100644
--- a/docs/clients/cli.mdx
+++ b/docs/clients/cli.mdx
@@ -189,9 +189,10 @@ When `--base-url` targets a custom deployment, setup skips the npm update check
**What gets written — CLI + Skills mode:**
-| File | Purpose |
-| ---------------------- | ------------------------------------------------------------------------------ |
-| Agent skills directory | `docs` skill — guides the agent to use `ctx7 library` and `ctx7 docs` commands |
+| File | Purpose |
+| ---------------------- | ----------------------------------------------------------------------------------- |
+| Agent skills directory | `find-docs` skill — guides the agent to use `ctx7 library` and `ctx7 docs` commands |
+| Agent rules directory | Rule file — instructs the agent to use the `ctx7` commands for library docs |
### ctx7 remove
diff --git a/skills/context7-cli/references/setup.md b/skills/context7-cli/references/setup.md
index af369a41..25d3b487 100644
--- a/skills/context7-cli/references/setup.md
+++ b/skills/context7-cli/references/setup.md
@@ -40,3 +40,4 @@ Without `--api-key` or `--oauth`, setup opens a browser for OAuth login. The dev
**What gets written — CLI + Skills mode:**
- A `find-docs` skill in the chosen agent's skills directory, guiding the agent to use `ctx7 library` and `ctx7 docs` commands
+- A Context7 rule file instructing the agent to use the `ctx7` commands for library docs