Vault 资讯瀑布媒体2026.08.21 04:59 UTC+8

/wayfinder 技能:穿越规划的“战争迷雾”

Matt Pocock 发布 /wayfinder 技能,帮助用户和 AI 代理在项目目标不明确时进行规划,通过多线程处理、原型制作和研究,减轻规划阶段的负担。

我们目前正在开发一个关于技能的新系列,旨在定期为你提供可在项目中使用的技能。我们以一次采访——以及一个超级有用的技能——作为开篇,主角是 Matt Pocock,他的“AI Skills for Real Engineers”项目在 GitHub 上已获得超过 22 万颗星。他还在拥有 34.7 万订阅者的 YouTube 频道上谈论这些技能。

Pocock 最近发布了一个名为 /wayfinder 的新技能。它的目的是帮助你和你的代理弄清楚一个最终状态不完全清晰的项目。或者正如 Pocock 在我们的采访中所说,/wayfinder 帮助你穿越“战争迷雾”,即你有一个项目,但“你无法在开始时就把所有事情都决定好”。

以下采访为便于阅读略有删减,因此你可以阅读、吸收 Matt 的见解,然后亲自测试 /wayfinder!

Latent Space:wayfinder 的目标是什么?

Pocock:我注意到我做了很多与 AFK 代理(Away From Keyboard)相关的工作,并试图安排大量工作,以便我的代理可以几乎整夜运行。我会计划一堆事情,然后创建一份规范,再将规范转化为工单。我有一套非常完善的技能,用于将工作转化为可安排的任务,让代理能够继续推进。

但是 [...] 我发现规划阶段非常繁重,因为我必须不断思考我的会话管理。比如,我的上下文窗口中有多少 token?我要深入到哪里?

Matt Pocock 的 wayfinder 技能,如 GitHub 中所述

我不想再在规划阶段感到受限。我想要一个编排层,基本上可以说,好吧,无论你想规划什么,我都会为你处理规划会话。我会将其拆分成多个不同的线程,进行原型制作、研究,然后将其汇总在一起,这样你在规划时就不会再感到受限。

然后你的规范可以更加详细,你就可以直接派一个 AFK 代理去做更多的工作。

Latent Space:这个技能的设计过程是怎样的?

Pocock:我有一个想法的雏形:如果我不必管理交接会怎样?那会是什么样子?然后,如果有一个集中式文档将所有部分放在一起,那会是什么样子?

每当你考虑上下文管理时——因为这实际上就是技能的本质,你在管理你所工作的代理的上下文——你需要考虑信息流。所以我想思考的是,如果一个“拷问”会话可以管理其他“拷问”会话,那会是什么样子?

那么,第一步是,被管理的“拷问”会话需要什么?在这种情况下,子会话需要什么?子会话可能需要了解其他正在发生的事情的模糊概述,并且需要它们的特定任务。

The /wayfinder Skill: Navigating the “Fog of War” of Planning

We’re currently developing a new series about skills, with the aim of giving you a regular supply of new skills to use in your projects. We’re kicking things off with an interview — and a super-useful skill — featuring Matt Pocock, whose “AI Skills for Real Engineers” project has over 220,000 stars on GitHub. He also talks about these skills to 347,000 subscribers on his YouTube channel.

Pocock recently released a new skill called /wayfinder. Its purpose is to help you and your agent figure out a project where the end state isn’t entirely clear. Or as Pocock put it in our interview, /wayfinder helps you navigate “the fog of war,” where you have a project but “you can’t quite decide everything right at the start.”

The following interview has been slightly condensed for readability, so you can read it, absorb Matt’s insights, and then test out /wayfinder for yourself!

Latent Space: What were the goals of wayfinder?

Pocock: What I noticed is I was doing a lot of work with AFK agents [Away From Keyboard] and trying to schedule in a ton of work so that my agents could run virtually overnight. I would just plan a bunch of stuff, and then I would create a spec and then turn that spec into tickets. And I had a really well-developed set of skills for how to turn work into scheduled stuff that agents could just crack on.

But [...] I was finding the planning stage really onerous, because I would have to be constantly thinking about my session management. Like, how many tokens am I into my context window? How deep am I going here?

Matt Pocock’s wayfinder skill, as documented in GitHub

I didn’t want to feel constrained in the planning stage anymore. I wanted an orchestrator layer that would basically say, okay, whatever you want to plan, I’m going to handle the planning sessions for you. I’m going to split this out into multiple different threads, do prototyping, do research and pull it all back together, so that you don’t feel constrained in the planning anymore.

And then your specs can be even more detailed, and you can just whack off an AFK agent to go and do tons more work.

Latent Space: What was the design process of coming up with this skill?

Pocock: I had this kernel of an idea of, what if I didn’t have to manage the handoffs? What would that look like? And then, what would it look like to have some kind of centralized document to have all of those pieces together?

Whenever you’re thinking about context management — because that’s really what a skill is, you’re managing the context of the agent you’re working in — you need to think about the information flow. So what I wanted to think about is, what if a grilling session could manage other grilling sessions? What would that look like?

Well, the first step to that is, what does the grilling session that’s being managed need? What does the child need in that situation? So the child probably needs to understand a vague overview of what else is happening, and they need their specific task.

So there, you’ve got two documents. You’ve got a map — which is all of the rest of the stuff, all the decisions that have already been made. And then you’ve got the specific ticket that goes into the actual session. And what you notice there is that those words are very precise.

From wayfinder documentation

You’ve got the map, and you’ve got the ticket, and you’ve got the session. And once you’ve got the kernel of an idea, you then need to come up with the words for that idea. Because once you’ve figured out the words, then those entities can be really clearly mapped out by the agent.

Because if you just call everything a ticket, or if you just refer to it in different ways in different places, then it’s going to be really confused and you’re going to get strange behavior. Whereas if you use these very specific, what I call leading words, to lead the agent to understand exactly what each part is, and you’ve understood what the information flow is, then you’ve got your skill.

Latent Space: What kind of use cases do you think wayfinder would be useful for?

Pocock: Well, I’ve been using it for all sorts of stuff. I’ve been using it to actually plan courses as well. In wayfinder, there are different types of tickets.

So you’ve got grilling tickets, which are just a grilling session. Then you’ve got prototype tickets for creating prototypes, research tickets for creating [and doing] research, and then task tickets — which are really broad…basically, just anything the human needs to do that the agent can’t do. And so once you think about that, you realize, OK, I can apply that to anything.

One really key idea in wayfinder is the ‘fog of war’. So this is the concept of, you can’t quite decide everything right at the start.

I decided to test /wayfinder on a project to rearchitect my personal website. Here’s the initial project set-up, in this case using Claude Code.

You can make certain decisions, and those certain decisions sort of lead you there and push further out into the fog of war — kind of like Warcraft III style, exploring the map. And once I had the idea of ‘fog of war’ and ‘map’, I realized those two terms actually work really nicely together, and it really leads the agent into the right idea. So I’ve been using it for engineering, for non-engineering stuff, for course planning, all sorts.

Latent Space: This concept of the fog of war — it’s weird to consider what you don’t know that you don’t know. Maybe LLMs are good at capturing that.

Pocock: I feel like with the grilling stuff that I’m still working on, that captures an idea that you don’t know stuff, but maybe the agent can contribute something and illuminate a part of the room that you don’t quite understand yet.

And wayfinder is just sort of an extra layer on top of that.

Working through my website rearchitecture project using /wayfinder. There’s 20+ years of content to re-organize!

Latent Space: Yeah, and there’s all these artifacts. How much time do you spend teaching the model all this terminology?

Pocock: For the last few months, I’ve been pretty obsessed with terminology — and finding the right terms for certain things. I’ve put together, I haven’t actually put it out yet, but it’s an AI coding dictionary — of basically all the terms in AI coding. It’s in this beautiful graph that you can explore and understand exactly what an agent is, exactly what a harness is, exactly what a model is, blah blah blah.

I’ve redone all my courses to use that dictionary and make it really solid. And then all of my skills use a consistent dictionary as well. So they’re all working off the [same] assumptions, the same leading words.

I realized that I needed a ubiquitous language between me and the agent. Between me and the agent, there is a communication barrier. And that’s what I’m trying to do with my skills all the time, is try to find the right words.

And agents are really good at showing you the opportunities for different wording — really good at domain modeling, actually.

Latent Space: When do we directly use the grill-me skill, versus wayfinder?

Pocock: Use ‘grill me’ in cases where you feel like you can plan the whole thing in a single session, and you need to align before you go. So most small features will fit into this. Most stuff where you can see the path ahead of you, but you just want to make sure the agent is on board, ‘grill me’ will work with that.

Via wayfinder documentation

For stuff where you don’t know the path ahead, for stuff where you can feel the fog of war in front of you, use wayfinder. You’re gonna find your way with wayfinder. So that’s how it works.

查看原始发布