agentleFS
vishk23vishk23/screenblock-mcp/.claude/skills/focus/SKILL.md

focus

Skill1 starsChanged 4 months agoMITView on GitHub

Work session starting — block all distraction groups on the user's iPhone via ScreenCP. Use when the user starts a work/coding session, says "focus mode", "starting work", "lock me in", or asks an agent to eliminate distractions.

  • Reads credentials
  • Sends data out

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use build.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Microsoft AzureSkill

    build

    Build the TypeSpec Rust emitter from source. Run this after cloning the repo, after pulling changes, or when TypeScript source files have been modified.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the MCP secret (never print it):

    line 12

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Focus — lock the phone's distractions

ScreenCP is the user's chat-controlled screen-time enforcer (MCP server + iOS app). You are an agent with the keys. Blocking every distraction group on the user's iPhone takes two calls.

  1. Read the MCP secret (never print it):
source <(grep MCP_BEARER_TOKEN /Users/vk/VKDEV/screencp/server/.env | sed 's/^/export /')
  1. List groups, then block each one that has apps selected (hasSelection: true):
curl -s -X POST "https://screencp.fly.dev/mcp/${MCP_BEARER_TOKEN}" \
  -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_groups","arguments":{}}}'

For each populated group:

curl -s -X POST "https://screencp.fly.dev/mcp/${MCP_BEARER_TOKEN}" \
  -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"block_now","arguments":{"group":"<NAME>"}}}'
  1. Optionally set the day's goal so the coach has context:
... {"name":"set_goal","arguments":{"text":"Deep work session — phone locked by my coding agent"}}
  1. Tell the user which groups are now blocked on their phone (delivery usually applies within ~10s via push). The phone's shields will say "Blocked by ScreenCP". Unblocking happens via /unfocus or by asking ChatGPT.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.