Skip to content

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

Add Codex plugin manifest

Robbie Fousteefeba95379c
diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json
new file mode 100644
index 00000000..bf4a2395
--- /dev/null
+++ b/.codex-plugin/plugin.json
@@ -0,0 +1,49 @@
+{
+ "name": "last30days",
+ "version": "3.8.1",
+ "description": "Research any topic across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, GitHub, and the web.",
+ "author": {
+ "name": "Matt Van Horn",
+ "email": "[email protected]",
+ "url": "https://github.com/mvanhorn"
+ },
+ "homepage": "https://github.com/mvanhorn/last30days-skill",
+ "repository": "https://github.com/mvanhorn/last30days-skill",
+ "license": "MIT",
+ "keywords": [
+ "research",
+ "reddit",
+ "twitter",
+ "youtube",
+ "tiktok",
+ "instagram",
+ "trends",
+ "prompts",
+ "polymarket",
+ "github",
+ "perplexity",
+ "threads",
+ "pinterest",
+ "eli5",
+ "hacker-news"
+ ],
+ "skills": "./skills/",
+ "interface": {
+ "displayName": "last30days",
+ "shortDescription": "Research what people are saying about a topic now.",
+ "longDescription": "last30days adds a Codex skill for researching recent discussion and engagement signals across social, video, developer, prediction-market, and web sources.",
+ "developerName": "Matt Van Horn",
+ "category": "Research",
+ "capabilities": [
+ "Research",
+ "Web"
+ ],
+ "websiteURL": "https://github.com/mvanhorn/last30days-skill",
+ "defaultPrompt": [
+ "/last30days OpenAI Codex",
+ "/last30days AI video tools",
+ "/last30days react user complaints"
+ ],
+ "brandColor": "#6F42C1"
+ }
+}
diff --git a/tests/test_plugin_contract.py b/tests/test_plugin_contract.py
index 39f6b676..f0e123a7 100644
--- a/tests/test_plugin_contract.py
+++ b/tests/test_plugin_contract.py
@@ -21,11 +21,21 @@ def _skill_version() -> str:
class TestPluginContract(unittest.TestCase):
- def test_codex_plugin_scaffold_stays_removed(self) -> None:
- # .codex-plugin/ was removed in the resolver-collapse refactor; Codex users
- # install via `npx skills add` or `~/.codex/skills/`. A reintroduction would
- # silently fork the install surface.
- self.assertFalse((ROOT / ".codex-plugin").exists())
+ def test_codex_plugin_manifest_uses_repo_skill_root(self) -> None:
+ manifest = _json(ROOT / ".codex-plugin" / "plugin.json")
+
+ self.assertEqual("last30days", manifest["name"])
+ self.assertEqual("./skills/", manifest["skills"])
+ self.assertEqual("last30days", manifest["interface"]["displayName"])
+
+ def test_codex_marketplace_points_at_repo_root_plugin(self) -> None:
+ marketplace = _json(ROOT / ".agents" / "plugins" / "marketplace.json")
+ plugins = marketplace.get("plugins") or []
+
+ self.assertEqual("last30days-skill", marketplace["name"])
+ self.assertEqual(1, len(plugins))
+ self.assertEqual("last30days", plugins[0]["name"])
+ self.assertEqual("./", plugins[0]["source"]["path"])
def test_versions_match_across_manifests(self) -> None:
pyproject = tomllib.loads((ROOT / "pyproject.toml").read_text(encoding="utf-8"))
@@ -33,6 +43,7 @@ class TestPluginContract(unittest.TestCase):
self.assertEqual(version, _skill_version())
self.assertEqual(version, _json(ROOT / ".claude-plugin" / "plugin.json")["version"])
+ self.assertEqual(version, _json(ROOT / ".codex-plugin" / "plugin.json")["version"])
self.assertEqual(version, _json(ROOT / "gemini-extension.json")["version"])
marketplace = _json(ROOT / ".claude-plugin" / "marketplace.json")