Repository navigation
Conversation
`ctx7 setup --antigravity` wrote skills to `~/.agent/skills` (global) and `.agent/skills` (project). Per https://antigravity.google/docs/skills, Antigravity reads global skills from `~/.gemini/config/skills` and workspace skills from `.agents/skills`, with `.agent/skills` kept only for backward compatibility. `~/.agent/skills` is not a documented location, so globally installed skills were never picked up.
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
|
@scarletkc is attempting to deploy a commit to the Upstash Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
ctx7 setup --antigravitywrites skills to:~/.agent/skills.agent/skillsAccording to the Antigravity skills docs, the App, IDE and CLI all read global skills from
~/.gemini/config/skills/<skill-folder>/and workspace skills from<workspace-root>/.agents/skills/<skill-folder>/. The docs say: "Antigravity defaults to.agents/skills, but still maintains backward compatibility for.agent/skills."~/.agent/skillsis not listed as a location anywhere, so a globalctx7 setup --cli --antigravityinstallsfind-docsinto a folder Antigravity never reads.Changes
agents.ts: Antigravity skill dir is now~/.gemini/config/skills(global) and.agents/skills(project). This also matches the~/.gemini/config/mcp_config.jsonpath the agent config already uses.setupDescriptionis updated to match.packages/cli/README.md,docs/clients/cli.mdxandskills/context7-cli/references/setup.md.ctx7.Notes
detectis unchanged. Adding.agentsthere would mark Antigravity as detected in any project that uses Codex, Copilot, OpenCode and so on.ctx7 removenow looks in the new dirs, so it won't clean up~/.agent/skills/find-docsor a project's.agent/skills/find-docs. If a user re-runs project setup after upgrading, Antigravity will load both copies, because it still reads the legacy.agent/skills. I kept this PR minimal. I can add a legacy cleanup if you want one.