Skip to content
Back to skills

Databrain Entity Resolver

ASecurity

Resolve game/company names to canonical DataBrain entities + per-system permissions. Run once per query before any data skill when the user names games or companies.

  • 279 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
toolspythonbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add infometa/workbuddyskills --skill databrain-entity-resolver --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Databrain Entity Resolver?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Databrain Entity Resolver
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/infometa-databrain-entity-resolver/badge)](https://www.skillsdirectory.com/skills/infometa-databrain-entity-resolver)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: databrain-entity-resolver
description: "Resolve game/company names to canonical DataBrain entities + per-system permissions. Run once per query before any data skill when the user names games or companies."
---

# Entity Resolver

Map game/company names → canonical entity + routing permissions. **Run before** dashboard, intelligence, opinion, or datalab skills.

## Command

```bash
python3 scripts/resolve_entities.py --entities '[{"original_name":"HOK","standard_name":"Honor of Kings","english_name":"Honor of Kings","type":"game"}]'
python3 scripts/resolve_entities.py --names "Honor of Kings" "PUBG Mobile"
```

`DATABRAIN_TOKEN` from env only. `type`: `"game"` | `"game company"`.

## Internal routing (tool output — not for users)

| Field | Route to |
|-------|----------|
| `has_dashboard_permission` | `databrain-dashboard-service` |
| `has_opinion_permission` | opinion skills |
| `has_intelligence` | `databrain-intelligence` |
| `dashboard_info` | Only when dashboard permission is true |

## User-visible wording

**Never** quote JSON, `has_*_permission`, or internal IDs. If a limitation must be explained:

| Internal | Tell the user |
|----------|---------------|
| `has_dashboard_permission=false` | 该游戏暂无**经分**权限(或:无经分数据权限),以下使用**情报**数据 |
| `has_opinion_permission=false` | 暂无**舆情**数据 |
| `matched=false` | 未能匹配到该游戏/公司,请确认名称 |

Default: route silently; skip the caveat if the answer is clear without it.

Files in this skill

  • SKILL.md1.5 KB
  • scripts/resolve_entities.py7.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…