AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Skill 045

skill-legendtkl-agentic-skill-router-skill-045 · by legendtkl

Methods and tools for analyzing economic inequality across different sectors and demographics. Use to assess disparities in income, wealth, and opportunities.

No reviews yet
0 installs
20 views
0.0% view→install

Install

$ agentstack add skill-legendtkl-agentic-skill-router-skill-045

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-legendtkl-agentic-skill-router-skill-045)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Skill 045? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Economic Inequality Analysis

This skill provides insights into techniques and methodologies for analyzing economic inequality, a critical issue in socio-economic research.

Overview

Economic inequality refers to disparities in wealth, income, and access to resources among individuals or groups. Understanding these inequalities is essential for:

  • Informing policy decisions
  • Understanding social dynamics
  • Promoting economic equity

Measuring Economic Inequality

Several metrics can be used to quantify economic inequality, including:

  • Gini Coefficient
  • Lorenz Curve
  • Theil Index

Gini Coefficient

The Gini coefficient measures income inequality within a population, ranging from 0 (perfect equality) to 1 (maximum inequality).

Python Implementation
import numpy as np
import pandas as pd
def gini_coefficient(data):
    n = len(data)
    if n == 0:
        return 0
    index = np.arange(1, n + 1)
    return (2 * np.sum(index * np.sort(data)) / np.sum(data) - (n + 1)) / n

# Load your income data
# income_data = pd.read_csv('income_data.csv')

# Calculate Gini Coefficient
gini = gini_coefficient(income_data['income'])
print(f'Gini Coefficient: {gini}')

Lorenz Curve

The Lorenz curve is a graphical representation of income distribution, showing the proportion of total income earned by cumulative percentages of the population. It helps visualize inequality.

Python Implementation
import matplotlib.pyplot as plt

# Calculate cumulative income shares
income_data = income_data.sort_values('income')
income_data['cumulative_income'] = income_data['income'].cumsum() / income_data['income'].sum()

# Plot Lorenz Curve
plt.plot(income_data['cumulative_income'], label='Lorenz Curve')
plt.plot([0, 1], [0, 1], linestyle='--', color='red')  # Line of equality
plt.title('Lorenz Curve')
plt.xlabel('Cumulative share of population')
plt.ylabel('Cumulative share of income')
plt.legend()
plt.show()

Conclusion

Analyzing economic inequality provides valuable insights into the distribution of wealth and resources. Employing various measurement techniques allows researchers and policymakers to address disparities effectively.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.