| name | Plexus Classifier Guidelines Management |
| description | The format for guidelines documents for Plexus scorecard scores and the validation tool. |
Instructions
This skill helps create and update classifier guidelines documents for Plexus scorecard score configurations. The user will provide you with information from subject matter experts that will commonly come from emails and chat messages, and your job is to incorporate that information into the scorecard score guideslines documents in the standard format, with the required elements. If there are any missing elements where you don't have enough information then ask the user for clarification.
After you make any change to the guidelines you need to use the tool to validate the guideslines file.
You can use the Plexus MCP tools to pull score versions, including either the champion or specific versions. And you can use the MCP tool for pushing new score versions with updated guidelines, after you make changes to the guidelines and validate the changes using the tool in this skill. You may NOT push updates without first validating them, and you may not push guidelines documents that are invalid. Making changes to the score configuration is out of scope for this skill, this is all about the guidelines.
Context
Plexus (AnthusAI/Plexus on GitHub) uses human-readable Guidelines documents (Markdown format) alongside YAML-based classifier configurations. The Guidelines express how to make classification decisions and serve as the source of truth for alignment between human subject-matter experts (SMEs), AI/ML engineers, and the LLM-based classifiers.
Guidelines Format Standards
There are three types of classifier guidelines, each with required elements:
Binary Classifier
Required sections (marked with *):
- Classifier Name (title)
- Objective
- Classes (with metadata: Valid labels, Target class, Default class)
- Definition of No
- Conditions for No
- Definition of Yes
Optional sections:
- Examples (Clear No Cases, Clear Yes Cases, Boundary Cases)
Binary Classifier with Abstentions
Required sections (marked with *):
- Classifier Name (title)
- Objective
- Classes (with metadata: Valid labels, Target class, Default class, Abstain class)
- Definition of No
- Conditions for No
- Definition of NA
- Conditions for NA
- Definition of Yes
Optional sections:
- Examples (Clear No Cases, Clear Yes Cases, Clear NA Cases, Boundary Cases)
Multi-Class Classifier
Required sections (marked with *):
- Classifier Name (title)
- Objective
- Classes (with metadata: Valid labels as list)
- Definition of [Each Class]
- Conditions for [Each Class]
Optional sections:
- Boundary Conditions ([Class A] vs [Class B] for each pair)
- Examples (Clear [Class] Cases for each class, Boundary Cases)
Workflow
When creating or updating guidelines:
- Identify the classifier type (binary, binary with abstentions, or multi-class)
- Use the validation tool to check which required sections exist
- Work with the user to fill in missing required sections
- Create or update the guidelines document
- Run validation again to confirm all required sections are present
- Iterate until validation passes
Key Principles
- Required sections are non-negotiable - guidelines documents must include all required sections
- Work collaboratively - if information is missing, ask the user rather than making assumptions
- Validate after every update - always run the validation tool after modifying guidelines
- Preserve existing content - when updating, maintain all existing sections unless explicitly asked to remove them
- Follow the format exactly - section headers must match the standard format
Validation Tool
Use the validate_guidelines.py tool to check guidelines documents for compliance. The tool:
- Detects classifier type automatically
- Checks for all required sections
- Reports missing or malformed sections
- Provides actionable feedback
Always run this tool after creating or updating guidelines documents.
Usage:
python validate_guidelines.py guidelines.md
Exit codes:
- 0: Validation passed
- 1: Validation failed
Example output:
Validation Results for: content_moderation.md
Classifier Type: Binary
Detected binary classifier
✓ All required sections present
Found Sections:
• Objective ✓
• Classes ✓
• Definition of No ✓
• Conditions for No ✓
• Definition of Yes ✓
• Examples (optional)
✓ Validation PASSED
Example Usage
Creating new guidelines:
- User provides classifier objective and class information
- Determine classifier type from class count and structure
- Run validation to see what's missing
- Work with user to define each required section
- Create complete guidelines document
- Run validation to confirm success
Updating existing guidelines:
- User provides guidelines file and requested changes
- Run validation on current document
- Make requested changes while preserving structure
- Run validation to ensure no required sections were lost
- If validation fails, work with user to fix issues
Common Issues
- Missing Classes metadata: Ensure Target class and Default class are specified for binary classifiers
- Missing class definitions: Multi-class classifiers need Definition and Conditions sections for every class
- Inconsistent class names: Class names in Conditions sections must exactly match those in Classes metadata
- Malformed headers: Section headers must match the standard format (e.g., "## Definition of No" not "## No Definition")
Instructions for Claude
When using this skill:
- Always validate first: Before making changes, run the validation tool on any existing guidelines
- Show validation results: Display the output to the user so they can see what's missing
- Work iteratively: For missing required sections, ask the user for information one section at a time
- Validate after changes: After creating or updating guidelines, run validation again
- Don't assume: If information is missing, ask rather than inventing content
- Preserve structure: Keep all existing sections unless explicitly asked to remove them
- Use exact format: Follow the standard section headers precisely
Example interaction:
User: Create guidelines for a spam classifier
Claude: I'll help you create guidelines for a spam classifier. First, let me understand the structure.
Is this a binary classifier (Spam/Not Spam) or does it need an NA class for uncertain cases?
User: Binary - just Spam or Not Spam
Claude: Got it. For a binary classifier, I need:
- Objective (what is the purpose of this classifier?)
- Target class (which class are we trying to detect - I assume "Spam"?)
- Default class (what do we classify when conditions aren't met - I assume "Not Spam"?)
- Definition of Spam
- Conditions for identifying Spam
- Definition of Not Spam
Let's start with the Objective. What should this classifier do?
[User provides information]
[Claude creates draft guidelines]
Let me validate this:
[Runs validation tool]
[Shows results]
The guidelines are now complete and valid. Would you like to add optional Examples sections?