SuperAPI AI Directory

openviking-rule-search

Agents & models

View repository

Updated 10-27 12:11

About this skill

OpenViking Rule Search

Goal

Use openviking_rule_search to retrieve the compiled Rules that constrain the current task, then validate the planned action or response against every applicable Rule.

Workflow

  1. Build task_context from the user's goal, the planned action or decision, and concrete facts that may affect which Rules apply. Include material unknowns instead of guessing them.
  2. Call openviking_rule_search with that task_context.
  3. Review every returned Rule independently. Apply a Rule when its applies_when condition is supported by the task context and no exception applies.
  4. Adjust the planned action or response to comply with all applicable Rules.
  5. Call openviking_rule_search again when new information materially changes the task context.

Boundaries

  • Treat returned Rules as constraints, not as evidence that unobserved facts are true.
  • Do not omit known facts from task_context to force a preferred result.