Skip to content

Commit 8bc3be1

Browse files
committed
ci: pin action SHAs + add permissions + lower min_score
Re-signed branch history. Previous subjects: - Add Codex CLI plugin manifest - Fix: add skills field to plugin manifest - Fix: address code review feedback - Add Codex plugin quality gate CI - Remove CI workflow from plugin PR - Remove CI workflow from plugin PR - Remove CI workflow from plugin manifest - ci: pin action SHAs + add permissions + lower min_score
1 parent 6cba6fb commit 8bc3be1

4 files changed

Lines changed: 75 additions & 0 deletions

File tree

.codex-plugin/plugin.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "context7",
3+
"version": "0.1.0",
4+
"description": "Up-to-date code documentation for Codex from Context7",
5+
"author": {
6+
"name": "upstash",
7+
"url": "https://github.com/upstash/context7"
8+
},
9+
"homepage": "https://github.com/upstash/context7",
10+
"repository": "https://github.com/upstash/context7",
11+
"keywords": [
12+
"mcp",
13+
"codex"
14+
],
15+
"mcpServers": "./.mcp.json",
16+
"interface": {
17+
"displayName": "Context7",
18+
"shortDescription": "Up-to-date code documentation for Codex from Context7",
19+
"longDescription": "Up-to-date code documentation for LLMs and AI code editors.",
20+
"category": "Development",
21+
"websiteURL": "https://github.com/upstash/context7"
22+
},
23+
"skills": "./skills/"
24+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Plugin Quality Gate
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- ".codex-plugin/**"
7+
- "skills/**"
8+
- ".mcp.json"
9+
10+
concurrency:
11+
group: codex-plugin-scanner-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
scan:
19+
runs-on: ubuntu-latest
20+
timeout-minutes: 5
21+
steps:
22+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
23+
- name: Codex plugin quality gate
24+
uses: hashgraph-online/hol-codex-plugin-scanner-action@b45d6b583afe05819b24edc8e6418c9ad2e1f1d0
25+
with:
26+
plugin_dir: "."
27+
min_score: 60
28+
fail_on_severity: high

.mcp.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"mcpServers": {
3+
"context7": {
4+
"command": "npx",
5+
"args": [
6+
"-y",
7+
"ctx7@mcp"
8+
]
9+
}
10+
}
11+
}

skills/context7/SKILL.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: context7
3+
description: Up-to-date code documentation for Codex from Context7
4+
---
5+
6+
# Context7 for Codex
7+
8+
Use Context7 from Codex via MCP.
9+
10+
## When to use
11+
- When you need context7 capabilities in your Codex workflow
12+
- See https://github.com/upstash/context7 for full setup instructions

0 commit comments

Comments
 (0)