Repository navigation
feat(skill): arm skills by page URL and keyword; browser site skills - #122
Merged
Merged
Conversation
…page URL
Frontmatter may now declare top-level keywords: and urls: lists (merged into the
autoInject block). /v1/chat/completions accepts an optional redrob_context
{page_url, page_title} and injects the bodies of skills that arm on the last user
message or the page URL as one system message. Armed skills leave the standing
skill list in sessions, and the v1 session loader now registers every built-in.
Gmail, Google Calendar, Notion, GitHub, Slack web, Naver mail, Naver search, Kakao web, Hometax (lookup only) and Coupang order lookup, each a SKILL.md with urls: and keywords: read from its own frontmatter and registered as built-ins. Keywords ending in Hangul no longer need a trailing word boundary, so particles attached to a noun still arm. skill-writer documents the short keys and how to save a repeated instruction under ~/.config/redrob/skills/. LOCAL-ENGINE-API gains a Skill arming section and the redrob_context request field.
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.
What's done
urls:(glob) andkeywords:frontmatter. An armed skill stays out of context until the request's page URL or the prompt matches.redrob_context.page_url/page_title; the browser sends the active agent tab. Unknown to other clients, ignored when absent.What's not done
What to review
packages/server/src/handlers/chat-completion.ts(context read + armed-skill injection).packages/core/src/plugin/skill.ts/packages/redrob/src/skill/index.ts(arming rules).Intentions
Gate run once locally: install, generate, typecheck, core and redrob tests all green.