# A workflow for speed-running learning materials - Using OSTEP as an example

> This article is currently an experimental machine translation and may contain errors. If anything is unclear, please refer to [original Chinese version](<https://blog.wendain.ing/posts/learn-ostep-workflow/>). I am continuously working to improve the translation.

## Preface

I've recently been studying OSTEP, a classic textbook in the field of operating systems, but I've run into a few problems:

- The Chinese translation is **terribly bad** — no normal person could actually read through it. I plan to write a blog post later criticizing this point;
- Although the English version is open source, I'm not really keen on just gritting my teeth and grinding through it;
- I've actually already read the first 10 chapters or so before, and I want to review quickly. Reading the book directly feels too inefficient, so I want to speed-run it;
- As for the exercises, honestly, most of the time I'm too lazy to go through them one by one (also because I want to speed-run). I'd like someone to distill the essence for me, and then I can just give them a quick try myself.
    - Side note: the Chinese translation turns out to be a half-finished product — many chapters have no exercises at the end, while the English version on the official website does have them...

As it happens, this classic textbook also has these advantages:

- The PDF of the entire English edition is [open source](https://pages.cs.wisc.edu/~remzi/OSTEP), and it's even **open sourced chapter by chapter**;
- All the accompanying resources, such as the homework, are also [available]([remzi-arpacidusseau/ostep-homework](https://github.com/remzi-arpacidusseau/ostep-homework/)) on GitHub.

Therefore, I designed a speed-reading workflow.

## Concrete Practice

Using **Codex**, create a new project:

<img src="https://image.wendaining.top/image-20260425163124424.png" alt="Diagram of projects in Codex" style="zoom:67%;" />

Give it a prompt like this:

> Generate an `AGENTS.md` that mainly describes the work this project needs to accomplish:
>
> 1. This project is a project to help me learn operating systems, mainly based on the OSTEP textbook;
> 2. I will provide you with PDFs or text; explain the knowledge in them to me, or distill it into its essence;
> 3. For the explanations and the distillations, I want the generated text to follow the @answer_style.md document;
> 4. As for the @answer_style.md document, I also need you to generate it, with the following content:
>     1. Don't be overly fragmented with too many bullet points; use bullet points where appropriate, but the main body should be in paragraph form;
>     2. Use clear and concise language, focusing on helping people understand concepts right away, ideally paired with vivid, illustrative examples;
>     3. Answer in Chinese.
> 5. There are other things I don't know what to add — please add them as well. In short, the goal is to help me learn the operating systems course.

The corresponding files were then generated. The benefits of this are:

- GPT's default writing style is, in my opinion, quite disgusting — inexplicable bullet points, extremely fragmented paragraph structure, plus the classics like "let me explain it in one sentence" and "I'll catch you securely." The `answer_style.md` file can standardize GPT's response style;
- If there are any follow-up requirements, you can add them yourself, or describe them and let Codex add them in for you.

Usage examples:

<img src="https://image.wendaining.top/image-20260425163732263.png" alt="Example of having Codex summarize a chapter" style="zoom:67%;" />



<img src="https://image.wendaining.top/image-20260425163830376.png" alt="Example of having Codex summarize exercises" style="zoom:67%;" />

Personally, I think the results are pretty good. You can ask questions at any time, which is far more efficient than reading the book directly. Also, after reading the AI-generated aids, you can then go read the original text, which is also much more efficient.

## Things to Note

- For this workflow, I personally think the harness needs to be done well. Fortunately, GPT's hallucination rate is now very low, so there's not much to worry about in this regard.
- `answer_style.md` can be highly customized according to personal needs.
