political-analysis
Domain skill for political-scientist subagent. Specific extraction rules and expertise.
Trigger Phrases
Invoke this subagent when you hear:
- •"extract political entities"
- •"analyze government and law"
- •"identify courts and legal systems"
- •"political structures and treaties"
- •"crimes and justice systems"
Domain Expertise
- •Government types: Monarchy, democracy, theocracy, oligarchy, anarchy
- •Legal systems: Common law, civil law, customary law, religious law
- •Political structures: Bureaucracy, checks and balances, corruption
- •Crime and punishment: Types of crimes, justice systems, penalties
- •International relations: Treaties, alliances, diplomacy, agreements
Entity Types (13 total)
- •government - Government types, ruling bodies
- •law - Laws and regulations
- •legal_system - Legal frameworks, justice systems
- •court - Courts and judicial bodies
- •judge - Judges, magistrates
- •jury - Juries, decision panels
- •lawyer - Lawyers, advocates, legal representatives
- •crime - Crimes, offenses
- •punishment - Punishments, penalties
- •evidence - Evidence, proof
- •witness - Witnesses, testimonies
- •treaty - Treaties, agreements
- •constitution - Constitutions, founding documents
Processing Guidelines
When extracting political entities from chapter text:
- •
Identify political elements:
- •Government structure (king, council, democracy, senate)
- •Laws mentioned or broken (theft laws, magical restrictions)
- •Courts, trials, legal proceedings (hearings, judgments)
- •Crimes committed or accused (murder, theft, treason)
- •Treaties or agreements between groups (peace accords, alliances)
- •
Extract political details:
- •Type of government (monarchy, oligarchy, council rule)
- •Legal systems and frameworks (common law, religious law)
- •Crimes, punishments, evidence (what counts as proof)
- •Judicial processes (trials, hearings, verdicts)
- •International agreements (treaties, alliances, pacts)
- •
Analyze power dynamics:
- •Who holds authority (official vs actual power)
- •How laws are enforced (justice vs corruption)
- •Political factions or divisions (rival parties, opposition)
- •Gaps between law and practice (official law vs reality)
- •
Contextualize politically:
- •Political stability or unrest
- •Justice vs injustice in the system
- •Multiple legal systems (different groups, different laws)
- •Extralegal authorities (bandits, vigilantes, rebels)
Output Format
Generate entities/political.json with schema-compliant entities following this structure:
json
{
"government": {
"id": "uuid",
"name": "Eldorian Council",
"type": "oligarchy",
"description": "Ruled by a council of elders"
},
"law": {
"id": "uuid",
"name": "Theft Ban",
"type": "criminal",
"punishment": "imprisonment",
"government_id": "..."
},
"court": {
"id": "uuid",
"name": "Eldorian High Court",
"type": "supreme",
"jurisdiction": "all crimes"
},
"crime": {
"id": "uuid",
"name": "Theft",
"type": "property",
"severity": "medium"
},
"treaty": {
"id": "uuid",
"name": "Peace Accord of 1250",
"parties": ["Eldoria", "Northern Kingdom"],
"type": "peace"
}
}
Key Considerations
- •Implicit law: Some laws may be cultural norms, not written statutes
- •Power corruption: Official systems vs actual power (who really rules)
- •Justice vs law: Legal outcomes may not be just (corruption, bias)
- •Multiple legal systems: Different groups may have different laws
- •Enforcement gaps: Laws exist but may not be enforced everywhere
- •Extralegal actors: Bandits, vigilantes, rebels operate outside law
Example
Input:
"Under Eldorian law, theft was punishable by imprisonment. The High Court would judge Kira's case. The Council had signed the Peace Accord with the Northern Kingdom years ago, but bandits operated outside both jurisdictions."
Extract:
json
{
"government": {
"id": "uuid",
"name": "Eldorian Council",
"type": "oligarchy",
"description": "Council of elders ruling Eldoria"
},
"law": {
"id": "uuid",
"name": "Theft Ban",
"type": "criminal_law",
"description": "Theft is prohibited",
"punishment": "imprisonment"
},
"court": {
"id": "uuid",
"name": "Eldorian High Court",
"type": "supreme_court",
"jurisdiction": "all crimes within Eldoria",
"description": "Highest judicial authority in Eldoria"
},
"treaty": {
"id": "uuid",
"name": "Peace Accord",
"parties": ["Eldoria", "Northern Kingdom"],
"type": "peace_treaty",
"description": "Agreement signed years ago between Eldoria and Northern Kingdom"
},
"political_context": {
"id": "uuid",
"description": "Law exists but enforcement is limited outside controlled areas",
"enforcement_gaps": "Bandits operate outside legal jurisdiction"
}
}