Skip to content

feat: add hacker-feeds-cli to registry#260

Open
collectivewinca wants to merge 3 commits intoHKUDS:mainfrom
collectivewinca:add-hacker-feeds-cli
Open

feat: add hacker-feeds-cli to registry#260
collectivewinca wants to merge 3 commits intoHKUDS:mainfrom
collectivewinca:add-hacker-feeds-cli

Conversation

@collectivewinca
Copy link
Copy Markdown

Add hacker-feeds-cli (tech news feeds) to CLI-Hub registry.

Copilot AI review requested due to automatic review settings April 28, 2026 21:01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds new third-party harness CLIs to the CLI-Hub harness registry so they can be discovered and installed via cli-hub.

Changes:

  • Adds a new hacker-feeds-cli entry (tech/news feed CLI wrapper).
  • Adds a new ve-twini entry (Twitter/X CLI).
  • Reformats the surrounding tail of the registry (notably indentation around openclaw-macro and the new entries).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread registry.json Outdated
Comment on lines +976 to +984
{
"name": "ve-twini",
"display_name": "VE Twini",
"version": "1.0.0",
"description": "Unified Twitter/X CLI bridging bird (GraphQL API) and opencli (browser automation)",
"requires": "Python 3.10+, bird (Twitter API), opencli",
"homepage": "https://github.com/collectivewinca/ve-twini",
"source_url": "https://github.com/collectivewinca/ve-twini",
"install_cmd": "pip install git+https://github.com/collectivewinca/ve-twini.git#subdirectory=agent-harness",
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

The PR title/description mention only adding hacker-feeds-cli, but this diff also adds a new ve-twini registry entry. If intentional, please update the PR metadata; otherwise, remove the unrelated entry to keep the change scoped.

Copilot uses AI. Check for mistakes.
Comment thread registry.json Outdated
Comment on lines +957 to +960
{
"name": "haorui-harry",
"url": "https://github.com/haorui-harry"
"name": "openclaw-macro",
"display_name": "OpenClaw Macro System",
"version": "1.0.0",
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

These new CLI entries are indented more deeply than the surrounding clis array elements. While JSON ignores whitespace, the inconsistent formatting makes the registry harder to maintain and creates noisy diffs; please align the indentation with the rest of the file (array elements at the same level as safari).

Copilot uses AI. Check for mistakes.
Comment thread registry.json Outdated
Comment on lines +1003 to +1005
"install_cmd": "pip install git+https://github.com/collectivewinca/hacker-feeds-cli.git#subdirectory=cli_anything",
"entry_point": "cli-anything-hacker-feeds-cli",
"skill_md": "https://github.com/collectivewinca/hacker-feeds-cli/blob/main/cli_anything/hacker_feeds_cli/skills/SKILL.md",
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

hacker-feeds-cli uses pip install git+...#subdirectory=cli_anything and the SKILL.md URL points to .../cli_anything/.... The harness packaging convention in this repo expects an agent-harness/ directory containing setup.py and agent-harness/cli_anything/<software>/... (see cli-anything-plugin/HARNESS.md directory structure). If this is a standard harness, the subdirectory and SKILL.md path should reference agent-harness so pip installs from the correct package root and the skill link matches the canonical layout.

Suggested change
"install_cmd": "pip install git+https://github.com/collectivewinca/hacker-feeds-cli.git#subdirectory=cli_anything",
"entry_point": "cli-anything-hacker-feeds-cli",
"skill_md": "https://github.com/collectivewinca/hacker-feeds-cli/blob/main/cli_anything/hacker_feeds_cli/skills/SKILL.md",
"install_cmd": "pip install git+https://github.com/collectivewinca/hacker-feeds-cli.git#subdirectory=agent-harness",
"entry_point": "cli-anything-hacker-feeds-cli",
"skill_md": "https://github.com/collectivewinca/hacker-feeds-cli/blob/main/agent-harness/cli_anything/hacker_feeds_cli/skills/SKILL.md",

Copilot uses AI. Check for mistakes.
@yuh-yang
Copy link
Copy Markdown
Collaborator

Thanks for the Hacker Feeds registry entry. This one needs a few fixes before merge.

The advertised repo URL is not reachable from GitHub right now (https://github.com/collectivewinca/hacker-feeds-cli returns repository not found), and the submitted install/skill paths 404. The registry entry needs public, working links before it can be published.

Also, this PR includes the ve-twini entry from #259. Please keep this PR scoped to hacker-feeds-cli only and avoid rewriting the adjacent openclaw-macro block so the registry diff stays clean.

@collectivewinca
Copy link
Copy Markdown
Author

collectivewinca commented Apr 29, 2026

Thanks for the review. I’ve addressed the requested fixes:

  • Made https://github.com/collectivewinca/hacker-feeds-cli public so links are reachable.
  • Updated the registry entry links/install path to valid public URLs and current package layout.
  • Rebased/force-updated this PR branch to keep scope to hacker-feeds-cli only.
  • Removed the ve-twini addition from this PR and kept adjacent entries unchanged for a clean diff.

Please re-check when you have a moment.

@github-actions github-actions Bot added new-cli Adds a new CLI or generated harness cli-anything-hub Changes CLI-Hub, registries, or hub docs labels Apr 29, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 00fdb9993b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread registry.json
"source_url": "https://github.com/collectivewinca/hacker-feeds-cli",
"install_cmd": "pip install git+https://github.com/collectivewinca/hacker-feeds-cli.git",
"entry_point": "cli-anything-hacker-feeds-cli",
"skill_md": "https://github.com/collectivewinca/hacker-feeds-cli/blob/main/cli_anything/hacker_feeds_cli/skills/SKILL.md",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Store skill_md as a repo-relative path

The hub renderer always builds the Skill URL as ${REPO}/blob/main/${c.skill_md} (docs/hub/index.html:1004-1005), so putting a full GitHub URL in skill_md creates an invalid double-prefixed link and the Skill button will 404 for this CLI. In registry.json, skill_md needs to stay repo-relative (as with other entries) or the frontend must be updated to detect absolute URLs.

Useful? React with 👍 / 👎.

Comment thread registry.json
"contributor_url": "https://github.com/rsasaki0109"
},
{
"name": "hacker-feeds-cli",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep Hub source links pointing to an existing harness path

Hub cards generate the Source button from name as ${REPO}/tree/main/${c.name}/agent-harness (docs/hub/index.html:1007), but this new name has no matching directory in the repo (checked with rg --files | rg '^hacker-feeds-cli/', no matches). As a result, the Source link for this entry will be broken in production.

Useful? React with 👍 / 👎.

Copilot AI review requested due to automatic review settings April 29, 2026 14:22
@collectivewinca
Copy link
Copy Markdown
Author

collectivewinca commented Apr 29, 2026

I addressed the two remaining Hub-link review comments in the latest push:

  • Skill links now support absolute URLs, while existing relative registry paths still resolve against HKUDS/CLI-Anything.
  • Source links now use source_url when present, falling back to the existing internal /agent-harness path.
  • This keeps the external hacker-feeds-cli entry valid without changing behavior for existing internal entries.

@github-actions github-actions Bot removed the new-cli Adds a new CLI or generated harness label Apr 29, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

docs/hub/index.html:1023

  • sourceHref() now supports c.source_url, but the hub’s card rendering still only shows contributor info from c.contributor/c.contributor_url (later in this function). With the newly added registry entry using contributors, the hub will render that CLI without any contributor section. Either update the rendering logic to handle contributors or standardize the registry schema back to contributor/contributor_url.
        const sourceLink = `<a href="${esc(sourceHref(c))}" target="_blank">Source</a>`;
        const titleHtml = c.homepage
          ? `<a href="${esc(c.homepage)}" target="_blank">${esc(c.display_name)}${EXTERNAL_LINK_SVG}</a>`
          : esc(c.display_name);
        const isTeam = c.contributor === 'CLI-Anything-Team';

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread registry.json Outdated
Comment on lines +589 to +599
"source_url": "https://github.com/collectivewinca/hacker-feeds-cli",
"install_cmd": "pip install git+https://github.com/collectivewinca/hacker-feeds-cli.git",
"entry_point": "cli-anything-hacker-feeds-cli",
"skill_md": "https://github.com/collectivewinca/hacker-feeds-cli/blob/main/cli_anything/hacker_feeds_cli/skills/SKILL.md",
"category": "search",
"contributors": [
{
"name": "collectivewinca",
"url": "https://github.com/collectivewinca"
}
]
@collectivewinca
Copy link
Copy Markdown
Author

Addressed the latest schema comment in the newest push: hacker-feeds-cli now uses the existing contributor / contributor_url registry fields, so the Hub contributor rendering remains compatible. I kept source_url because the Hub now uses it specifically to support external source links.

Copy link
Copy Markdown
Collaborator

Thanks for the update. This PR now has merge conflicts because main has moved forward in both the Hub frontend and the registry schema.

Please rebase this branch on the latest main and resolve the conflicts by keeping the current main version of docs/hub/index.html. The current Hub code already has support for external source_url links and absolute web skill_md URLs, so the older helper-function change in this PR should not be re-applied as-is.

For registry.json, please re-add only the hacker-feeds-cli entry on top of latest main, using the current schema:

  • keep source_url: "https://github.com/collectivewinca/hacker-feeds-cli"
  • keep skill_md as the full external GitHub URL
  • use contributors: [{ "name": "collectivewinca", "url": "https://github.com/collectivewinca" }] instead of contributor / contributor_url
  • avoid changing adjacent registry entries so the diff stays scoped

After resolving, please run a JSON validation on registry.json and push the rebased branch for another review.

Copy link
Copy Markdown
Collaborator

@zhangxilong-43 zhangxilong-43 left a comment

Choose a reason for hiding this comment

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

I ran local validation/tests for this PR branch:

  1. python3 -c "import json; json.load(open('registry.json'))"
  • Result: PASS (registry.json valid)
  1. python3 .github/scripts/update_registry_dates.py
  • Result: PASS (Updated dates for 40 CLI entries)
  • Note: hacker-feeds-cli is not included in generated dates (this is the P2 issue above).
  1. python3 .github/scripts/generate_meta_skill.py
  • Result: PASS (Generated meta-skill with 42 CLIs)
  1. python3 -m pytest -q cli-anything-plugin/tests/test_skill_generator.py
  • Result: PASS (31 passed)
  1. python3 -m pytest -q skill_generation/tests/test_skill_path.py
  • First run in sandbox failed due permission writing to ~/.cli-anything-demo
  • Re-run with elevated permission: PASS (79 passed)
  1. python3 -m pip install --dry-run --no-deps "git+https://github.com/collectivewinca/hacker-feeds-cli.git"
  • Result: PASS (metadata resolves/builds successfully)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli-anything-hub Changes CLI-Hub, registries, or hub docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants