agentleFS
VincenzoImpVincenzoImp/openings-job-search/skills/maintain-workspace/SKILL.md

maintain-workspace

Skill8 starsChanged 17 days agoMITView on GitHub

Back up, export, tidy and clean up an Openings workspace, as in "back up my workspace", "export my records", "clean up old jobs", "delete these permanently", "undo what you did yesterday". Prefers what can be undone, backs up before deleting and checks every result.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read openings first and call workspace_context.

    line 11
  2. Very specific:

    Check the copy: sqlite3 <file> 'PRAGMA integrity_check' must print ok.

    line 16
  3. Distinctive:

    Keep as many copies as the owner says, where they say.

    line 17
  4. Distinctive:

    Leave dismissed jobs in place: they are the memory that keeps collection from showing the same vacancy as new again.

    line 36
  5. Distinctive:

    Only on the owner's request, or a standing instruction naming the scope.

    line 41
  6. Very specific:

    Delete with each record's version (jobs_delete, applications_delete, documents_delete) and check every result.

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

Keep your workspace safe and tidy

Read openings first and call workspace_context.

Backup

  1. workspace_backup, then run its curl line within two minutes.
  2. Check the copy: sqlite3 <file> 'PRAGMA integrity_check' must print ok.
  3. Keep as many copies as the owner says, where they say. Never in Git or a shared folder: a backup holds personal data and documents. An agent's copy holds no credentials.

The server already keeps daily backups on its own disk; this is the copy elsewhere. A scheduled run can take one, as run-job-search says.

Export

workspace_backup with kind export gives the records as JSON, without file bytes or credentials, the same way: run the curl line and check that the file parses.

Tidy, reversibly first

  • Shortlisted applications past their deadline or no longer listed: check the posting, then close them as not pursued with a note.
  • Pause sources that bring nothing useful.
  • Leave dismissed jobs in place: they are the memory that keeps collection from showing the same vacancy as new again.

Delete permanently

Only on the owner's request, or a standing instruction naming the scope.

  1. List exactly what goes, and how many.
  2. State the consequences:
    • a deleted job returns as New when a source finds it again;
    • deleting a job deletes its applications, documents and files;
    • deleting the newest revision makes the previous one current;
    • deleting a revision of a sent application loses what the employer got.
  3. Take a backup first, as above, when more than a few records go.
  4. Delete with each record's version (jobs_delete, applications_delete, documents_delete) and check every result.

Undo a run

  1. Find what the run did: changes_list with actor agent:<token name> and since, or with the batch_id of one call.
  2. Jobs it dismissed: jobs_list with triage dismissed and that batch_id (or dismissed_by and dismissed_since), then jobs_triage them to new.
  3. Jobs it shortlisted: jobs_triage to new while their applications are empty, else close the applications as not pursued.
  4. Applications it changed: undo each as the core skill's critical actions say (back to Shortlisted, reply_fix, reopen).
  5. Revisions it made: delete them only when the owner asks.

Report what could not be undone.

Report back

The backup or export file, its size and check; what was tidied, deleted or undone, with counts; the consequences the owner accepted; what could not be undone.

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.