Skip to main content

Context7 indexing and Docs7 hosting#

This guide describes documentation distribution only. It does not introduce network access into the agent-context-kit CLI or change the existing GitHub Pages website.

1. Indexing configuration#

The repository root context7.json sets the library title, description, best-practice rules and current documentation folders. The README and maintained docs/guides, docs/reference and docs/concepts pages remain the source of truth. Historical tasks, generated output and tests are excluded.

Context7 library ID convention: /cynrath/agent-context-kit. Confirm the actual library ID in your Context7 dashboard before switching configuration sources. Indexing, ownership and verified-badge status are separate.

2. Existing ownership and configuration source#

The library is already owned by the maintainer’s teamspace. Do not repeat Claim Library and do not invent or add a public_key.

By default, an owned Context7 library may say Config source: Configuration is managed here. This means admin-form settings currently take precedence; merely committing context7.json does not activate it. The maintainer may either:

  1. Keep dashboard-managed settings: edit Configuration fields in the admin UI, click Save changes, then Refresh.
  2. Use version-controlled settings: review existing dashboard include/exclude rules and compare them with context7.json, then choose Config source → Switch to read settings from the repository file, and Refresh. This changes the source of configuration; it is not needed for claiming ownership.

Avoid switching blindly: existing dashboard exclusions may differ from the repository file. The repository config intentionally indexes maintained feature docs and the README, not archived tasks or generated content. Leave Index every version, old ones too disabled unless historical-version docs are explicitly required.

Never commit Context7 API tokens, npm credentials or other secrets. If this library is ever unclaimed by an owner, use the official claim process only then. Copy the exact per-library url and public_key from that library’s Claim Library dialog in the owner’s Context7 panel; never invent a key or reuse another library’s challenge. Existing ownership needs no new challenge.

3. Apply for the verified badge#

Open the already-owned library’s Admin page and select the orange Apply for Verification link. Context7 may grant the badge automatically based on reputation or quality thresholds. If the instant check does not qualify, provide the official documentation URL, a factual project description and developer value in the manual application. Verification is free; approval is decided by Context7, not by a repository setting.

4. Connect Docs7 Free (optional; existing GitHub Pages stays active)#

  1. Open Docs7 while signed into Context7.
  2. In the teamspace’s Docs7 tab, choose Add new repository, then Form; select Cynrath/agent-context-kit.
  3. Set production branch to master, and Docs path to docs. The docs/docs.json file defines the navigation and docs/index.mdx is the entry page.
  4. Publish the site. Keep the assigned *.docs7.io address separate from existing GitHub Pages until you intentionally decide otherwise.
  5. Enable Add to Context7 when connecting the repository (or use the site’s Context7 tab) so successful production builds refresh the library automatically. Do not create a duplicate library if the original GitHub library is already registered.

See Docs7 plans for current site limits, preview access and documentation-editing agent availability.

5. Verify deployment and indexing#

After the Docs7 production build is successful, open:

  • the Docs7 site root and a guide/reference page;
  • /llms.txt and /llms-full.txt on that site;
  • /guides/getting-started.md for an agent-readable page;
  • the Context7 library page, making sure the new documentation and code examples are retrievable;
  • the Context7 library Admin page for ownership/config source and verification status.

If configuration changes do not appear, use the library page’s Refresh and inspect the Docs7 build log. Context7 may also refresh public libraries automatically.

6. Releases#

Publishing docs does not require a new npm version. Follow repository version/release governance and keep existing published npm packages, tags, GitHub Releases and (where applicable) VS Code Marketplace builds immutable. Do not claim a release until its CI, registry and documentation checks actually pass.

Official references: Context7 Library Owners, Claim Your Library, Verify Your Library, Docs7 Quickstart, Docs7 Agent Readiness.