OpenHands / OpenHands/extensions

Add a rule-audit skill: offline static analysis of AI system prompts

Open
#590 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
148
Forks
90
Avg merge
1d 17h
Merged PRs (30d)
36

Description

Desired Behavior

The extensions catalog should include a skill for static analysis of AI system prompts / agent rule files: detecting contradictory rules, coverage gaps, priority ambiguities, and meta-paradoxes before they cause runtime agent misbehavior. It should run fully offline (no model calls, deterministic), so it can be used in CI.

The rule-audit analyzer (PyPI: rule-audit, MIT) provides this; packaging it as an AgentSkills-format skill under skills/rule-audit makes it usable from OpenHands directly.

Acceptance Criteria
  • skills/rule-audit/SKILL.md exists and follows the AgentSkills progressive-disclosure format used by other skills in this repo
  • Skill is registered in marketplaces/openhands-extensions.json with a valid category from the README's category list
  • Bundled adapter scripts import rule_audit from a plain pip install rule-audit environment without modification
  • Marketplace JSON parses as valid JSON

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing existing skills to the AgentSkills progressive-disclosure format, then inspect the category list in the README and the registration structure in marketplaces/openhands-extensions.json. Add skills/rule-audit/SKILL.md and adapter scripts that import rule_audit from a plain pip install rule-audit environment; done when the marketplace JSON parses and all acceptance criteria are met.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.