Skip to content

feat: Add byted viking search knowledgebase skill#227

Open
marchpure wants to merge 1 commit into
bytedance:mainfrom
marchpure:codex/add-byted-viking-search-knowledgebase
Open

feat: Add byted viking search knowledgebase skill#227
marchpure wants to merge 1 commit into
bytedance:mainfrom
marchpure:codex/add-byted-viking-search-knowledgebase

Conversation

@marchpure

Copy link
Copy Markdown

What changed

Added skills/byted-viking-search-knowledgebase from code.byted.org/ai-search-rec/aisearch-arkclaw origin/master.

The new skill includes:

  • SKILL.md
  • API references for collection info and search knowledge
  • scripts/viking_search.py and package marker

Verification

  • Confirmed the copied files match the source tree exactly with diff -qr.
  • Confirmed staged Git blob IDs match aisearch-arkclaw:origin/master:skills/byted-viking-search-knowledgebase/* for all 5 files.
  • Compared with existing skills/byted-viking-knowledgebase on agentkit-samples/main; it is not the same code or structure, so this PR adds the source skill under its original name instead of replacing the existing skill.
  • Ran python3 -m py_compile skills/byted-viking-search-knowledgebase/scripts/viking_search.py.

Notes

git diff --check reports trailing whitespace and EOF blank-line issues inside the copied API reference markdown. Those are preserved intentionally so the submitted skill remains byte-for-byte equivalent to the source.

@marchpure marchpure marked this pull request as ready for review June 8, 2026 09:53
@marchpure marchpure changed the title [codex] Add byted viking search knowledgebase skill feat: Add byted viking search knowledgebase skill Jun 8, 2026

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

Copy link
Copy Markdown

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: 315c055618

ℹ️ 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 on lines +376 to +377
if not args.resource_id and not args.name:
raise SystemExit("info action requires --resource-id or --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.

P2 Badge Allow info to enumerate configured collections

When the task is to list available knowledge bases or route an otherwise topic-less request, SKILL.md tells the agent to use info to list metadata for the configured collections, and the script even has _fetch_collections_info() for that purpose. However, this guard exits unless a single --resource-id or --name is supplied, so python scripts/viking_search.py --action info can never enumerate DATABASE_VIKING_COLLECTION; those documented flows always fail before any allowed collection info is fetched.

Useful? React with 👍 / 👎.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants