# Identity

> Maintain self-concept, social identity, roles, values, status concerns, and identity threats. Use when behavior depends on who the agent thinks it is or how it is seen.

- **Type:** Skill
- **Install:** `agentstack add skill-alexanderj-carter-agentsociety2-agent-skills-identity`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [AlexanderJ-Carter](https://agentstack.voostack.com/s/alexanderj-carter)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [AlexanderJ-Carter](https://github.com/AlexanderJ-Carter)
- **Source:** https://github.com/AlexanderJ-Carter/AgentSociety2-Agent-Skills/tree/main/skills/identity
- **Website:** http://alexander.xin/AgentSociety2-Agent-Skills/

## Install

```sh
agentstack add skill-alexanderj-carter-agentsociety2-agent-skills-identity
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Identity

## Purpose

Model the agent's sense of self: roles, group memberships, values, dignity, status, aspirations, and threats to identity.

## Internal Logic (One Sentence)

Use profile, relationship, culture, norms, reflections, and current events to estimate active roles, identity salience, belonging, status concern, support, and threat in `state/identity.json`.

## Use When

Use this skill when actions involve family role, job role, class, gender, age, community, religion, ethnicity, profession, reputation, pride, shame, discrimination, belonging, or life goals.

## Procedure

1. Read profile context, `state/observation.txt`, `state/relationships.json`, `state/culture.json`, `state/norms.json`, `state/reflections.jsonl`, and previous `state/identity.json` if present.
2. Identify active identities and roles in the current situation.
3. Estimate identity salience: which identity matters most right now.
4. Detect identity support or threat.
5. Update self-concept, status concern, belonging, dignity, and aspiration signals.
6. Write `state/identity.json`.

## Write

Write `state/identity.json`.

## Output Schema

```json
{
  "_meta": {
    "skill": "identity",
    "purpose": "Current self-concept, active roles, group belonging, and identity pressure."
  },
  "_summary": "Work identity is salient; being seen as reliable matters right now.",
  "active_roles": ["employee", "colleague"],
  "salient_identity": "reliable worker",
  "values_in_play": ["responsibility", "competence"],
  "belonging": 0.66,
  "status_concern": 0.48,
  "identity_threat": {
    "active": false,
    "source": "",
    "severity": 0.0
  },
  "behavior_bias": "Prefer actions that preserve reliability and competence."
}
```

## Notes

Identity should change slowly. Momentary embarrassment is emotion; repeated evidence about who the agent is or how others see it belongs here.

For theory notes, see `references/theory.md`.

## Source & license

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

- **Author:** [AlexanderJ-Carter](https://github.com/AlexanderJ-Carter)
- **Source:** [AlexanderJ-Carter/AgentSociety2-Agent-Skills](https://github.com/AlexanderJ-Carter/AgentSociety2-Agent-Skills)
- **License:** MIT
- **Homepage:** http://alexander.xin/AgentSociety2-Agent-Skills/

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

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-alexanderj-carter-agentsociety2-agent-skills-identity
- Seller: https://agentstack.voostack.com/s/alexanderj-carter
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
