Skip to content

t1076: Update context7 agent with skill registry, telemetry disable, and package rename#1570

Merged
marcusquinn merged 1 commit intomainfrom
feature/t1076-context7-skill-awareness
Feb 17, 2026
Merged

t1076: Update context7 agent with skill registry, telemetry disable, and package rename#1570
marcusquinn merged 1 commit intomainfrom
feature/t1076-context7-skill-awareness

Conversation

@marcusquinn
Copy link
Copy Markdown
Owner

@marcusquinn marcusquinn commented Feb 17, 2026

Summary

  • Update package name from @context7/mcp-server to @upstash/context7-mcp (upstream rename)
  • Add Context7 skills registry awareness -- search, install, suggest skills via npx ctx7 CLI
  • Add skill discovery-to-aidevops import workflow connecting Context7 registry to /add-skill
  • Add telemetry disable guidance (CTX7_TELEMETRY_DISABLED=1)
  • Update MCP tool names to current API (query-docs replaces get-library-docs)
  • Add Claude Code installation method and remote server connection option
  • Add comparison table between ctx7 skills install and /add-skill import

Changes

Single file: .agents/tools/context/context7.md (+134/-32 lines)

Testing

Closes #1569

Summary by CodeRabbit

  • Documentation
    • Updated package references and installation instructions for Context7 setup
    • Added Skills Registry section with skill discovery, suggestion, and installation workflows
    • Enhanced configuration guidance for multiple client platforms (Claude Code, Claude Desktop, Remote Server)
    • Improved telemetry control instructions with explicit environment variable guidance
    • Expanded command examples and framework configuration references

…nd package rename

- Update package name from @context7/mcp-server to @upstash/context7-mcp
- Add Context7 skills registry awareness (search, install, suggest via ctx7 CLI)
- Add skill discovery-to-aidevops import workflow documentation
- Add telemetry disable guidance (CTX7_TELEMETRY_DISABLED=1)
- Update MCP tool names to current API (query-docs)
- Add Claude Code installation method and remote server connection
- Add comparison table between ctx7 install and /add-skill import
@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @marcusquinn, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly updates the documentation for the Context7 agent, ensuring it reflects the latest upstream changes and introduces new capabilities. The primary goal is to enhance the integration of Context7 with AI assistants by providing clearer instructions for setup, skill management, and telemetry control, thereby improving the overall developer experience and alignment with current Context7 offerings.

Highlights

  • Package Name Update: The Context7 package name has been updated from @context7/mcp-server to @upstash/context7-mcp to reflect an upstream rename.
  • Skills Registry Integration: Documentation now includes details on the Context7 skills registry, enabling users to search, install, and suggest skills via the npx ctx7 CLI.
  • Skill Discovery and Import Workflow: A new workflow has been added to connect the Context7 registry to aidevops, allowing skills to be imported using the /add-skill command.
  • Telemetry Disabling: Guidance has been added for disabling Context7 telemetry using the CTX7_TELEMETRY_DISABLED=1 environment variable.
  • MCP Tool Name Updates: The MCP tool names have been updated to align with the current API, specifically query-docs replacing get-library-docs.
  • Claude Code Installation and Remote Server: New installation methods for Claude Code and an option for connecting to a remote MCP server have been documented.
Changelog
  • .agents/tools/context/context7.md
    • Updated the Context7 package name and CLI commands in the quick reference section.
    • Added instructions for disabling telemetry.
    • Revised MCP tool names to query-docs and resolve-library-id.
    • Introduced a new section detailing the Context7 Skills Registry, including search, suggest, and install commands.
    • Updated AI assistant recommendation from OpenCode to Claude Code.
    • Added specific installation instructions for Claude Code.
    • Modified Claude Desktop configuration to use the new package name and removed the DEBUG environment variable.
    • Replaced Cursor IDE and Augment Agent setup sections with a recommended remote server connection method and automated setup instructions.
    • Updated the command for testing the MCP server directly.
    • Replaced the 'Benefits for Your Development' section with a comprehensive 'Skill Discovery and Import' section.
    • Detailed the workflow for importing Context7 skills into aidevops using /add-skill, including security considerations and a comparison table.
    • Added instructions for managing Context7 skills and a dedicated section for disabling telemetry.
Activity
  • No human activity has been recorded on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 17, 2026

Walkthrough

Documentation update to the Context7 agent tool guide, replacing MCP server package references, introducing a Skills Registry workflow for skill search and installation, updating tool usage semantics, and expanding configuration guidance across multiple setup scenarios.

Changes

Cohort / File(s) Summary
Context7 Documentation Updates
.agents/tools/context/context7.md
Replaces MCP package references (@context7/mcp-server@latest@upstash/context7-mcp), updates tool examples (resolve-library-id, query-docs), revises telemetry guidance to reference environment variable configuration. Adds new Skills Registry section with commands for skill search, suggestion, and installation workflows. Expands setup/configuration flows for Claude Code, Claude Desktop, and Remote Server Connection scenarios. Updates multiple code blocks, command examples, and descriptive sections throughout documentation.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Poem

🛠️ Skills dance into the registry's glow,
Context7 whispers where good tools flow,
From MCP's embrace to Upstash's keep,
Import and search in workflows deep,
Zero debt remains—pristine and bright. ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically summarizes the main changes: package rename, skill registry addition, and telemetry disable feature.
Linked Issues check ✅ Passed All PR objectives align with linked issue #1569: package rename to @upstash/context7-mcp, skill registry search/install awareness, telemetry disable guidance, and skill import workflow documentation are all implemented.
Out of Scope Changes check ✅ Passed All changes in the single modified file (.agents/tools/context/context7.md) are directly related to Context7 agent updates specified in the linked issue objectives.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/t1076-context7-skill-awareness

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown
Contributor

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

�[0;34m[INFO]�[0m Latest Quality Status:
SonarCloud: 0 bugs, 0 vulnerabilities, 16 code smells

�[0;34m[INFO]�[0m Recent monitoring activity:
Tue Feb 17 19:09:07 UTC 2026: Code review monitoring started
Tue Feb 17 19:09:08 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 16

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 16
  • VULNERABILITIES: 0

Generated on: Tue Feb 17 19:09:10 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request significantly updates the documentation for the Context7 agent. It reflects an upstream package rename, introduces the new skills registry feature, and provides instructions for telemetry disablement. The changes are comprehensive and well-structured. I've added a couple of suggestions to improve the clarity of the new skill management commands to prevent potential user confusion.


1. **Search** the Context7 registry: `npx ctx7 skills search <query>`
2. **Evaluate** trust score (7+ = high, 3-6.9 = medium, <3 = review carefully)
3. **Import** into aidevops: `/add-skill <github-repo>` (e.g., `/add-skill anthropics/skills`)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There's a subtle inconsistency in the workflow. The ctx7 tool provides skill IDs with a leading slash (e.g., /supabase-community/supabase-custom-claims), but the /add-skill command examples use the path without the leading slash. This could confuse users. Please clarify that the leading slash should be removed from the skill ID before passing it to /add-skill, for instance by adding a note to the workflow steps.


# Remove a skill
npx ctx7 skills remove pdf
/add-skill remove <name>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The placeholder <name> in the /add-skill remove <name> command is ambiguous. It's unclear if this refers to the original skill name, the repository name, or the name of the skill file created by aidevops. To improve clarity, please provide a concrete example based on the import example used earlier in the document.

Suggested change
/add-skill remove <name>
/add-skill remove supabase-custom-claims-skill

@marcusquinn marcusquinn merged commit 8ac9387 into main Feb 17, 2026
13 of 15 checks passed
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.agents/tools/context/context7.md:
- Around line 21-45: The docs use the MCP tool name `query-docs` in the Quick
Reference but still reference `get-library-docs` throughout; update all
occurrences of `get-library-docs` to `query-docs` (including examples, Usage
Examples, Best Practices, Troubleshooting, Integration, Advanced Features and
any CLI snippets) so the symbol names match; search the document for
`get-library-docs`, replace with `query-docs`, and verify sample commands, code
blocks, and narrative text consistently use `query-docs` (and adjust any
surrounding phrasing that implies different arguments or behavior).

Comment on lines 21 to +45
- **Purpose**: Real-time access to latest library/framework documentation
- **Command**: `npx -y @context7/mcp-server@latest`
- **Built into Augment**: No setup needed, tools available directly
- **Package**: `@upstash/context7-mcp` (formerly `@context7/mcp-server`)
- **CLI**: `npx ctx7` for skills and setup commands
- **Telemetry**: Disable with `export CTX7_TELEMETRY_DISABLED=1`

**MCP Tools**:
- `resolve-library-id("next.js")` → Returns "/vercel/next.js"
- `get-library-docs("/vercel/next.js")` → Returns documentation
- `get-library-docs("/vercel/next.js", topic="routing")` → Topic-specific
- `get-library-docs("/vercel/next.js", tokens=15000)` → More detail
- `resolve-library-id` → Resolves library name to Context7 ID (e.g., "next.js" → "/vercel/next.js")
- `query-docs` → Retrieves documentation for a library ID with a query

**Common Library IDs**:
- Frontend: `/vercel/next.js`, `/facebook/react`, `/vuejs/vue`
- Backend: `/expressjs/express`, `/nestjs/nest`
- DB/ORM: `/prisma/prisma`, `/supabase/supabase`, `/drizzle-team/drizzle-orm`
- Tools: `/vitejs/vite`, `/typescript-eslint/typescript-eslint`

**Skills Registry**: Context7 hosts a searchable skills registry at [context7.com/skills](https://context7.com/skills). Search, install, and suggest skills for your project:

```bash
npx ctx7 skills search react # Search registry
npx ctx7 skills suggest # Auto-suggest from project deps
npx ctx7 skills install /anthropics/skills pdf # Install a skill
```

Skills found in the Context7 registry can be imported into aidevops using `/add-skill`. See "Skill Discovery and Import" section below.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

cat .agents/tools/context/context7.md

Repository: marcusquinn/aidevops

Length of output: 13963


Align all usage examples with the Quick Reference tool name (query-docs).

Quick Reference declares the MCP tool as query-docs, but all downstream examples—spanning Usage Examples, Best Practices, Troubleshooting, Integration, and Advanced Features sections—consistently use get-library-docs. This creates a direct reference mismatch that will mislead developers implementing the documented workflows.

Update the ~30+ instances of get-library-docs in examples and sections to query-docs to maintain documentation consistency.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.agents/tools/context/context7.md around lines 21 - 45, The docs use the MCP
tool name `query-docs` in the Quick Reference but still reference
`get-library-docs` throughout; update all occurrences of `get-library-docs` to
`query-docs` (including examples, Usage Examples, Best Practices,
Troubleshooting, Integration, Advanced Features and any CLI snippets) so the
symbol names match; search the document for `get-library-docs`, replace with
`query-docs`, and verify sample commands, code blocks, and narrative text
consistently use `query-docs` (and adjust any surrounding phrasing that implies
different arguments or behavior).

@marcusquinn marcusquinn deleted the feature/t1076-context7-skill-awareness branch February 21, 2026 01:59
@marcusquinn marcusquinn added the code-reviews-actioned All review feedback has been actioned label Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-reviews-actioned All review feedback has been actioned

Projects

None yet

Development

Successfully merging this pull request may close these issues.

t1076: Update context7 agent with skill search and import awareness

1 participant