1. Habit
  2. Skills
  3. Ziniao Access Policy skill
ziniao-open · 5K installs

Ziniao Access Policy skill
Runs by itself, weekly access rule review.

Access rules reviewed every week.

Install the Ziniao Access Policy skill and make it a habit: follow https://gethabit.dev/skills/ziniao-open/ziniao-access-policy.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

5K installs7 starsMIT licenceSource on GitHub ↗

Ziniao Access Policy

by ziniao-open · 5K installs

The skill

Ziniao access policy lets an agent query and maintain Ziniao web access rules, web pages and page groups, rule members and accounts, and account policy bindings through ziniao-cli api.

Only when you ask.

The habit

Access rules reviewed every week.

↻ Runs by itselfweekly access rule review

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one full listing and at most 5 approved edits per run.

  1. 01

    Read shared rules

    Read ../ziniao-shared/SKILL.md first, as the skill requires.

  2. 02

    List rules

    Call the access_rule/list endpoint with paging and fetch details for changed rules.

  3. 03

    List pages and groups

    Call the access_rule_url list and the group list with isAll true.

  4. 04

    Check accounts

    Call access_rule/list/one_account for each watched account.

  5. 05

    Report changes

    Compare with last week's snapshot and list disabled or new rules with their request IDs.

  6. 06

    Apply approved edits

    Run edit, active, change_user or bind calls only after you approve them.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Ziniao Access Policy skill helps.

Use it when

  • ✓ You audit Ziniao access rules
  • ✓ You bind a policy to an account
  • ✓ You restrict downloads for a role

Skip it when

  • – You do not use Ziniao
  • – You need shortcut commands, not raw API calls

Questions

Ziniao Access Policy skill, answered.

Are there shortcut commands for access policies?

No. Every call goes through the generic ziniao-cli api command as a JSON POST.

Why must single IDs be arrays?

The skill notes that fields like ruleIds and urlIds are always arrays, even for one value.

How do I install the Ziniao Access Policy skill?

Copy the prompt at the top into your agent. It installs the skill from ziniao-open/skills and sets up the habit. Or run npx skills add ziniao-open/skills --skill ziniao-access-policy.

Is the Ziniao Access Policy skill free?

Yes. It is published under MIT. Habit is free too.

Ziniao Access Policy. Now as a habit.

Install the Ziniao Access Policy skill and make it a habit: follow https://gethabit.dev/skills/ziniao-open/ziniao-access-policy.md

  • Free
  • No account
  • Undo in one line

All ziniao-open skills →More ops skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by ziniao-open, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.