gitwtfhub

wtf is relatokit?

rryam/relatokit — explained in plain English

Analysis updated 2026-05-18

26SwiftAudience · developerComplexity · 2/5LicenseSetup · moderate

TL;DR

RelatoKit is a macOS command-line tool that prepares and helps submit bug reports through Apple's Feedback Assistant.

Mindmap

mindmap
  root((RelatoKit))
    What it does
      Prepares bug reports
      Drives Feedback Assistant
      Two stage workflow
    Tech stack
      Swift
      macOS Accessibility APIs
      Swift Package Manager
    Use cases
      Report Apple OS bugs
      Automate report filing
      AI agent workflows
    Audience
      macOS developers
      Apple platform testers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Prepare a structured bug report with title, description, and screenshot before filing it

REASON 2

Automatically fill in the native Feedback Assistant form using Accessibility APIs

REASON 3

Use it inside an AI agent workflow to file reports from a script

REASON 4

Review a Markdown draft of the report before confirming submission

What's in the stack?

SwiftmacOS

How it stacks up

rryam/relatokitbsnkhua/mole-widgetjomeswang/agnes-ai-skill
Stars262626
LanguageSwiftSwiftSwift
Setup difficultymoderateeasyeasy
Complexity2/52/52/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires macOS 14+, Swift 6, Feedback Assistant already signed in, and Accessibility permission granted to Terminal.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

Wtf does this do

RelatoKit is a command-line tool for macOS that helps you prepare and submit bug reports and feature requests through Apple's Feedback Assistant app. Feedback Assistant is the official Apple tool that developers use to report issues with Apple operating systems, frameworks, and developer tools. Normally, filling out a Feedback Assistant report is a manual process involving the native app, category menus, file attachments, and text fields. RelatoKit automates the preparation work and can drive the native app using macOS Accessibility features. The name comes from the Portuguese word "relato," meaning report or account. The tool works in two stages. First, you run a prepare command with a title, description, optional screenshot or log file, the bundle identifier of the affected app, and the platform (macOS, iOS, visionOS, and others). RelatoKit writes two files: a JSON payload with the structured data, and a Markdown version for human review. Second, you run a submit command that opens the real Feedback Assistant app, fills in the text fields and popup menus using macOS Accessibility APIs, stages your attachment into the app's draft folder, and optionally presses the Submit button if you pass the confirmation flag. The tool never bypasses Apple's submission process. It fills in the native Feedback Assistant form and hands off to the actual app for the final submission. If you do not pass the confirmation flag, it stops before clicking Submit so you can review the form yourself. Some fields that Feedback Assistant generates automatically, such as diagnostic logs or device details, still require manual review inside the app before confirming. RelatoKit is also designed to work inside automated agent workflows, where an AI assistant or script prepares the report payload and the tool handles the native app interaction. It includes curated mappings for common Feedback Assistant topic areas and platforms so that categories can be inferred from a title and description without manual lookup. The tool requires macOS 14 or later, Swift 6, and the Feedback Assistant app already installed and signed in with an Apple ID. Accessibility permission must be granted for Terminal. It is built from source using Swift Package Manager and released under the MIT license.

Yoink these prompts

Prompt 1
Show me how to run RelatoKit's prepare command for a macOS bug report
Prompt 2
Explain how RelatoKit fills in Apple's Feedback Assistant using Accessibility permissions
Prompt 3
Help me set up RelatoKit with Swift Package Manager on macOS 14
Prompt 4
How do I use RelatoKit inside an automated agent workflow to file bug reports?

Frequently asked questions

wtf is relatokit?

RelatoKit is a macOS command-line tool that prepares and helps submit bug reports through Apple's Feedback Assistant.

What language is relatokit written in?

Mainly Swift. The stack also includes Swift, macOS.

What license does relatokit use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is relatokit to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is relatokit for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.