LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

policyengine-aggregation - PolicyEngine Variable Aggregation Patterns

Sum variables across entities using adds attribute and add() function

Tags

Updated: 2026-05-11

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • sum variables with adds
  • sum variables with add()
  • aggregate across entities
  • apply max_() to sums
  • apply where() to sums
  • use parameter lists

Inputs

  • variable names
  • entity definition
  • definition period
  • parameter path

Outputs

  • aggregated variable value

Requirements

  • PolicyEngine environment
  • model_api module

Source

  • Spec: SKILL.md
variable aggregation
entity aggregation
summation
sum variables with adds
sum variables with add()
aggregate across entities
apply max_() to sums
variable names
entity definition
definition period
aggregated variable value