Skip to main content

Build

Argent Settings Permissions

argentOfficialCertified

Grant, deny, or reset app runtime permissions out-of-band on an iOS simulator or Android device via `settings-permissions`. Use when the app's own dialog or toggle cannot change the permission.

  • New
  • v1.0.2
  • No reviews yet

Getting started

Full instructions

Install the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.

Instructions: SKILL.mdv1.0.2

settings-permissions edits the platform's permission store directly (the iOS simulator's TCC database, Android's runtime permissions over adb). It is a test-setup / out-of-band tool, not a general permissions toggle: the default way to change a permission is still through the app. The tool's description covers the supported permissions per platform, the parameters, the result (applied / skipped) and the per-platform requirements.

When to use it - and when NOT to

The first matching row wins.

Situation Do this
The app has an in-app control for the permission (a toggle in its own settings screen) Tap it in the app (describe → gesture-tap); it exercises the flow you're testing
The app asked and the system permission dialog is on screen Tap the dialog (Allow / Don't Allow / Allow While Using App); describe exposes its buttons
The permission must be granted/denied before the app runs, so no dialog interrupts the flow Use this tool (grant / deny) before launch-app
The user already denied it and you need it on again Use this tool (grant): iOS never re-shows a dialog once denied
You need the first-run dialog to appear again Use this tool (reset)
You need a device-wide setting such as dark mode or Wi-Fi Use system-settings where supported, or use the device's Settings app
The tool cannot set the permission on this device Answer the app's dialog, or use the app's UI or the Settings app

Rule of thumb: if a human tester could flip it inside the app, do that. Reach for settings-permissions only for an app's permission that a human would otherwise change in the system Settings app.

Gotchas

  • iOS simulator only on Apple platforms. A physical iPhone has no host-side TCC switch, so the tool does not apply there.
  • A pre-launch deny suppresses the prompt on iOS only. On iOS a TCC denial answers the app's request, so no dialog appears. On Android a deny clears the grant but sets no "user-fixed" flag, so the app's next request still shows the system dialog: a pre-launch deny there tests the revoked state, not a suppressed prompt.
  • Android reset below API 33 can't clear "don't ask again". It revokes the grant, but clearing the user-fixed flag needs Android 13 / API 33+, so the dialog may stay suppressed on older devices.
  • Set permissions before launch-app. A change can terminate a running app; if you change one while it runs, restart-app afterwards.
  • Android location-always: a grant also adds fine and coarse location, since background alone can't read location.

Explore more skills

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

More from argent

View source →

Frequently asked questions about argent-settings-permissions

What does the argent-settings-permissions skill do?

Grant, deny, or reset app runtime permissions out-of-band on an iOS simulator or Android device via `settings-permissions`. Use when the app's own dialog or toggle cannot change the permission. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the argent-settings-permissions skill?

Run `npx @skills-hub-ai/cli install argent-settings-permissions` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/argent-settings-permissions/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does argent-settings-permissions work with?

argent-settings-permissions runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the argent-settings-permissions skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use argent-settings-permissions after installing it?

In Claude Code, type `/argent-settings-permissions` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the argent-settings-permissions skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/argent-settings-permissions)](https://skills-hub.ai/skills/argent-settings-permissions)
HTML
<a href="https://skills-hub.ai/skills/argent-settings-permissions"><img src="https://skills-hub.ai/api/badges/skill/argent-settings-permissions" alt="Install on Skills Hub"></a>

More options in the badge docs.